|
xmlgraphics-commons 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.image.writer.AbstractImageWriter
org.apache.xmlgraphics.image.writer.internal.TIFFImageWriter
public class TIFFImageWriter
ImageWriter implementation that uses the internal TIFF codec to write TIFF files.
Constructor Summary | |
---|---|
TIFFImageWriter()
|
Method Summary | |
---|---|
MultiImageWriter |
createMultiImageWriter(OutputStream out)
Creates a MultiImageWriter instance that lets you put multiple pages into a single file if the format supports it. |
String |
getMIMEType()
|
boolean |
supportsMultiImageWriter()
|
void |
writeImage(RenderedImage image,
OutputStream out)
Encodes an image and writes it to an OutputStream. |
void |
writeImage(RenderedImage image,
OutputStream out,
ImageWriterParams params)
Encodes an image and writes it to an OutputStream. |
Methods inherited from class org.apache.xmlgraphics.image.writer.AbstractImageWriter |
---|
isFunctional |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TIFFImageWriter()
Method Detail |
---|
public void writeImage(RenderedImage image, OutputStream out) throws IOException
image
- the image to be encodedout
- the OutputStream to write to
IOException
- In case of an /IO problempublic void writeImage(RenderedImage image, OutputStream out, ImageWriterParams params) throws IOException
image
- the image to be encodedout
- the OutputStream to write toparams
- a parameters object to customize the encoding.
IOException
- In case of an /IO problempublic String getMIMEType()
public MultiImageWriter createMultiImageWriter(OutputStream out) throws IOException
createMultiImageWriter
in interface ImageWriter
createMultiImageWriter
in class AbstractImageWriter
out
- the OutputStream to write the image to
IOException
- In case of an /IO problemImageWriter.createMultiImageWriter(
java.io.OutputStream)
public boolean supportsMultiImageWriter()
supportsMultiImageWriter
in interface ImageWriter
supportsMultiImageWriter
in class AbstractImageWriter
ImageWriter.supportsMultiImageWriter()
|
xmlgraphics-commons 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |