Class mxPngImageEncoder
java.lang.Object
com.mxgraph.util.png.mxPngImageEncoder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OutputStreamThe OutputStream associcted with this ImageEncoder. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(RenderedImage im) This method encodes aRenderedImageinto PNG.Returns the OutputStream associated with this ImageEncoder.getParam()voidsetParam(mxPngEncodeParam param)
-
Field Details
-
output
The OutputStream associcted with this ImageEncoder.
-
-
Constructor Details
-
mxPngImageEncoder
-
-
Method Details
-
getParam
-
setParam
-
getOutputStream
Returns the OutputStream associated with this ImageEncoder. -
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.- Throws:
IOException
-