leonbloy / pngj

PNGJ : pure Java library for high performance PNG encoding
http://hjg.com.ar/pngj/
278 stars 51 forks source link

PNGJ: Java library for PNG encoding

PNGJ is a pure Java library for high performance reading and writing of PNG images


Downloads

You can download the latest release from here http://hjg.com.ar/pngj/ or use the Maven Central repository

Main features

What is this for?

This is a relatively low level library, its goal is to code and decode PNG images from/to raw pixels, optimizing memory usage and speed. It does not provide any high-level image processing (eg, resizing, colour conversions), it does not try to abstract the concrete PNG color model (as BufferedImage does, for example). In particular, the default format of the scanlines (as wrapped in ImageLineInt or ImageLineByte) is not abstract, the meaning of the values depends on the image color model and bitdepth.

More documentation