| org.apache.xmlgraphics.image.writer.ImageWriter
All known Subclasses: org.apache.xmlgraphics.image.writer.AbstractImageWriter, org.apache.xmlgraphics.image.writer.imageio.ImageIOImageWriter,
ImageWriter | public interface ImageWriter (Code) | | Interface which allows image library independent image writing.
version: $Id: ImageWriter.java 496556 2007-01-16 00:59:48Z cam $ |
createMultiImageWriter | public MultiImageWriter createMultiImageWriter(OutputStream out) throws IOException(Code) | | Creates a MultiImageWriter instance that lets you put multiple pages into a single file
if the format supports it.
Parameters: out - the OutputStream to write the image to the requested MultiImageWriter instance throws: IOException - In case of an /IO problem |
getMIMEType | public String getMIMEType()(Code) | | the target MIME type supported by this ImageWriter |
isFunctional | public boolean isFunctional()(Code) | | true if the ImageWriter is expected to work properly in the current environment |
supportsMultiImageWriter | public boolean supportsMultiImageWriter()(Code) | | true if the implemented format supports multiple pages in a single file |
writeImage | public void writeImage(RenderedImage image, OutputStream out) throws IOException(Code) | | Encodes an image and writes it to an OutputStream.
Parameters: image - the image to be encoded Parameters: out - the OutputStream to write to throws: IOException - In case of an /IO problem |
writeImage | public void writeImage(RenderedImage image, OutputStream out, ImageWriterParams params) throws IOException(Code) | | Encodes an image and writes it to an OutputStream.
Parameters: image - the image to be encoded Parameters: out - the OutputStream to write to Parameters: params - a parameters object to customize the encoding. throws: IOException - In case of an /IO problem |
|
|