Introduction to libpng
The libpng package contains
libraries used by other programs for reading and writing PNG files.
The PNG format was designed as a replacement for GIF and, to a
lesser extent, TIFF, with many improvements and extensions and lack
of patent problems.
This package is known to build and work properly using an LFS-7.7
This package is known to build and work properly using the gcc-5
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libpng
Installation of libpng
If you want to patch libpng to support apng files, apply the patch:
gzip -cd ../libpng-1.6.17-apng.patch.gz | patch -p1
Install libpng by running the
./configure --prefix=/usr --disable-static &&
To test the results, issue: make
Now, as the
make install &&
mkdir -v /usr/share/doc/libpng-1.6.17 &&
cp -v README libpng-manual.txt /usr/share/doc/libpng-1.6.17
switch prevents installation of static versions of the libraries.
libpng-config (symlink), libpng16-config,
pngfix and png-fix-itxt
libpng.so and libpng16.so
tests, optimizes and optionally fixes the zlib header in
PNG files. Optionally, when fixing, strips ancillary
chunks from the file.
fixes PNG files that have an incorrect length field in
the iTXt chunks.
is a shell script that provides configuration information
for applications wanting to use libpng.
contain routines used to create and manipulate PNG format
Last updated on 2015-04-27 17:34:27 +0000