Skip to content

libpng: libpng is the official PNG reference library

Overview of package

Package: libpng
Description: libpng is the official PNG reference library
For more information: http://libpng.org
Categories: SoftwareDevelopment
ImageProcessing
License: OpenSource (PNG Reference Library License version 2)

General Usage

libpng supports almost all PNG features, is extensible, and has been extensively tested for over 23 years.

The following environmental variables have been defined:

  • $LIBPNG_ROOT has been set to the root of the libpng installation
  • $LIBPNG_LIBDIR points to the directory containing the libraries
  • $LIBPNG_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$LIBPNG_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$LIBPNG_LIBDIR -Wl,-rpath,$LIBPNG_LIBDIR

Available versions by cluster

This section lists the available versions of the package libpngon the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
1.6.39 1.6.39 icelake, x86_64, zen2 Yes
1.6.37 1.6.37 zen, zen2 Yes
1.2.57 1.2.57 icelake, x86_64, zen2 Yes