mavenized and spi-nised javapng
Copyright (C) 1998-2008 Chris Nokleberg All rights reserved.
README - Sixlegs Java PNG Decoder
Supports all valid bit depths (grayscale/color), interlacing, paletted images, alpha channel/transparency, gamma correction, access to all standard chunks, private chunk handling, and progressive display.
After including the javapng jar file in your classpath, typical usage is as follows:
com.sixlegs.png.PngImage png = new com.sixlegs.png.PngImage();
java.awt.image.BufferedImage image =
png.read(new java.io.File("test.png"));
int colorType = png.getColorType();
See http://code.google.com/p/javapng/wiki/ChangeLog
The latest version of this package is available from: http://code.google.com/p/javapng/
Please let me know about any problems you encounter, or features that you would find valuable.
Chris Nokleberg [email protected]