PNG (Portable Network Graphics) is an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel. Sample depths range from 1 to 16 bits.

Availability and Restrictions


The following versions of PNG are available on OSC clusters:

1.2.52 X
1.5.9 X*
*: Default Version

You can use  module spider png   to view available modules for a given machine. Feel free to contact OSC Help if you need other versions for your work.


PNG is available to all OSC users without restriction.


Usage on Oakley

Set-up on Oakley

To configure your environment for use of PNG on Oakley, run the following command:  module load png  . The default version will be loaded. To select a particular PNG version, use  module load png/version . For example, use module load png/1.2.52  to load PNG 1.2.52 on Oakley.

Further Reading

Fields of Science: