Package org.apache.xmlgraphics.ps
Class ImageEncodingHelper.RenderedImageEncoder
java.lang.Object
org.apache.xmlgraphics.ps.ImageEncodingHelper.RenderedImageEncoder
- All Implemented Interfaces:
ImageEncoder
- Enclosing class:
ImageEncodingHelper
private static class ImageEncodingHelper.RenderedImageEncoder
extends Object
implements ImageEncoder
ImageEncoder implementation for RenderedImage instances.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
writeTo
(OutputStream out) Writes the whole raw bitmap field to the given OutputStream.
-
Field Details
-
img
-
-
Constructor Details
-
RenderedImageEncoder
-
-
Method Details
-
writeTo
Description copied from interface:ImageEncoder
Writes the whole raw bitmap field to the given OutputStream. The implementation must not close the OutputStream when it is finished!- Specified by:
writeTo
in interfaceImageEncoder
- Parameters:
out
- the OutputStream to write to- Throws:
IOException
- if an I/O error occurs
-
getImplicitFilter
- Specified by:
getImplicitFilter
in interfaceImageEncoder
-