ImageWriterpublic class TIFFImageWriter extends AbstractImageWriter
| Constructor | Description |
|---|---|
TIFFImageWriter() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
isFunctionalpublic void writeImage(RenderedImage image, OutputStream out) throws IOException
image - the image to be encodedout - the OutputStream to write toIOException - 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 ImageWritercreateMultiImageWriter in class AbstractImageWriterout - the OutputStream to write the image toIOException - In case of an /IO problemImageWriter.createMultiImageWriter(
java.io.OutputStream)public boolean supportsMultiImageWriter()
supportsMultiImageWriter in interface ImageWritersupportsMultiImageWriter in class AbstractImageWriterImageWriter.supportsMultiImageWriter()Copyright © 2018 Apache Software Foundation. All rights reserved.