PngEncoder is a Java class which takes a Java Image object (based on DirectColorModel) and returns a byte-array in PNG format. This byte-array is suitable for saving as a PNG file or delivery to a client from a servlet. The class optionally encodes alpha information from the Image. PngEncoderB takes a Java BufferedImage object (which may have either a DirectColorModel or IndexColorModel) and returns a byte array in PNG format..
|Tags||Software Development Libraries Java Libraries|
Release Notes: A fix for a bug in compression level zero, and a new class which permits input from a BufferedImage, so that you can create PNGs from an 8-bit-per-pixel source. The new class requires Java 1.2; the original still works with Java 1.1.
Release Notes: Addition of "sub" and "up" filters. Documentation moved to a new directory. Test program updated. You can now set compression level for Deflater.
Release Notes: Initial release.