public class TIFFImageWriter extends AbstractImageWriter
Constructor and Description |
---|
TIFFImageWriter() |
Modifier and Type | Method and Description |
---|---|
MultiImageWriter |
createMultiImageWriter(java.io.OutputStream out)
Creates a MultiImageWriter instance that lets you put multiple pages into a single file
if the format supports it.
|
java.lang.String |
getMIMEType() |
boolean |
supportsMultiImageWriter() |
void |
writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out)
Encodes an image and writes it to an OutputStream.
|
void |
writeImage(java.awt.image.RenderedImage image,
java.io.OutputStream out,
ImageWriterParams params)
Encodes an image and writes it to an OutputStream.
|
isFunctional
public void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out) throws java.io.IOException
image
- the image to be encodedout
- the OutputStream to write tojava.io.IOException
- In case of an /IO problempublic void writeImage(java.awt.image.RenderedImage image, java.io.OutputStream out, ImageWriterParams params) throws java.io.IOException
image
- the image to be encodedout
- the OutputStream to write toparams
- a parameters object to customize the encoding.java.io.IOException
- In case of an /IO problempublic java.lang.String getMIMEType()
public MultiImageWriter createMultiImageWriter(java.io.OutputStream out) throws java.io.IOException
createMultiImageWriter
in interface ImageWriter
createMultiImageWriter
in class AbstractImageWriter
out
- the OutputStream to write the image tojava.io.IOException
- In case of an /IO problemImageWriter.createMultiImageWriter(
java.io.OutputStream)
public boolean supportsMultiImageWriter()
supportsMultiImageWriter
in interface ImageWriter
supportsMultiImageWriter
in class AbstractImageWriter
ImageWriter.supportsMultiImageWriter()
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.