Projects / PngEncoder

PngEncoder

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
Licenses
Implementation

Recent releases

  •  06 Apr 2000 22:26

    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.

    •  26 Nov 1999 07:56

      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.

      •  11 Nov 1999 11:39

        Release Notes: Initial release.

        Screenshot

        Project Spotlight

        OpenStack4j

        A Fluent OpenStack client API for Java.

        Screenshot

        Project Spotlight

        TurnKey TWiki Appliance

        A TWiki appliance that is easy to use and lightweight.