info.aduna.graphics.image
Class PngEncoder

java.lang.Object
  extended by info.aduna.graphics.image.PngEncoder

public class PngEncoder
extends Object

PngEncoder takes a Java Image object and creates a byte string which can be saved as a PNG file. The Image is presumed to use the DirectColorModel.


Constructor Summary
PngEncoder(Image image)
           
 
Method Summary
 byte[] pngEncode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PngEncoder

public PngEncoder(Image image)
Method Detail

pngEncode

public byte[] pngEncode()


Copyright © 1997-2008 Aduna. All Rights Reserved.