Class PNGImageEncoder
java.lang.Object
org.apache.batik.ext.awt.image.codec.util.ImageEncoderImpl
org.apache.batik.ext.awt.image.codec.png.PNGImageEncoder
- All Implemented Interfaces:
ImageEncoder
An ImageEncoder for the PNG file format.
- Since:
- EA4
-
Field Summary
Fields inherited from class ImageEncoderImpl
output -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(RenderedImage im) This method encodes aRenderedImageinto PNG.Methods inherited from class ImageEncoderImpl
encode, getOutputStream, getParam, setParam
-
Constructor Details
-
PNGImageEncoder
-
-
Method Details
-
encode
This method encodes aRenderedImageinto 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.- Specified by:
encodein interfaceImageEncoder- Specified by:
encodein classImageEncoderImpl- Throws:
IOException
-