org.apache.batik.ext.awt.image.codec.png

Class PNGImageEncoder

public class PNGImageEncoder extends ImageEncoderImpl

An ImageEncoder for the PNG file format.

Since: EA4

Constructor Summary
PNGImageEncoder(OutputStream output, PNGEncodeParam param)
Method Summary
voidencode(RenderedImage im)
This method encodes a RenderedImage into PNG.

Constructor Detail

PNGImageEncoder

public PNGImageEncoder(OutputStream output, PNGEncodeParam param)

Method Detail

encode

public void encode(RenderedImage im)
This method encodes a RenderedImage into PNG. The stream into which the PNG is dumped is not closed at the end of the operation, this should be done if needed by the caller of this method.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.