PNG Reference Library: libpng

PNG Web Site


This is an open source project to develop and maintain the reference library for use in applications that read, create, and manipulate PNG (Portable Network Graphics) raster image files.

UPDATE 21 August 2014:

  • The latest released versions are libpng-1.5.19 and libpng-1.6.13 [DOWNLOAD]. libpng16 adds a new simplified API, as well as new built-in sRGB-to-linear and linear-to-sRGB tables. Also, the "configure" machine-built files have been removed from the libpng GIT repository, although we intend to continue including those in the "tar" distributions.

  • For legacy applications, libpng-1.4.13, libpng-1.2.51, and libpng-1.0.61 are also available and will only be updated if necessary for security reasons.

UPDATE 8 August 2014: The latest development version is libpng-1.7.0beta35 [DOWNLOAD]. libpng17 has 8-bit compose and rgb_to_grayscale accuracy improvements.

The primary web site for PNG is

The primary public ftp site for libpng is

The ftp site for beta versions of libpng is

The current public and beta versions of libpng are available here at

There are pointers to various distributions of libpng and MD5 checksums here.

The Sourceforge project page for libpng is here.

A "git" repository for libpng is available. You can access it by cloning git:// or you can browse it here. At present, there are eight branches (libpng00, libpng10, libpng12, libpng14, libpng15, libpng16, libpng17, and a "master" branch which is roughly equivalent to the "libpng16" branch. The development occurs in the "libpng16" and "libpng17" branches; parts of the new developments are also ported to the "libpng15" branch; the rest are just for legacy and security purposes.

A "doxygen" index for various releases is available at

The mailing list for libpng developers and developers of libpng-based applications is png-mng-implement (at) Visit to subscribe. (archived here)

Bug reports can be sent to the mailing list or submitted via the SourceForge Bug tracker

Feel free to download and use the official PNG logo (size 88x31) with your application documentation and web pages:

pngbar.png pngbar.png pngbar.jpg pngbar.jpg
Both pngbar.tar.gz Both

This site belongs to the PNG Development Group and is maintained for the group by Glenn Randers-Pehrson glennrp at

Web space for this project is being provided by