private class TIFFImageWriter.TIFFMultiImageWriter extends java.lang.Object implements MultiImageWriter
Modifier and Type | Field and Description |
---|---|
private java.lang.Object |
context |
private TIFFEncodeParam |
encodeParams |
private TIFFImageEncoder |
encoder |
private java.io.OutputStream |
out |
Constructor and Description |
---|
TIFFMultiImageWriter(java.io.OutputStream out) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
writeImage(java.awt.image.RenderedImage image,
ImageWriterParams params)
Encodes an image and writes it to the image file.
|
private java.io.OutputStream out
private TIFFEncodeParam encodeParams
private TIFFImageEncoder encoder
private java.lang.Object context
public TIFFMultiImageWriter(java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public void writeImage(java.awt.image.RenderedImage image, ImageWriterParams params) throws java.io.IOException
MultiImageWriter
writeImage
in interface MultiImageWriter
image
- the image to be encodedparams
- a parameters object to customize the encoding.java.io.IOException
- In case of an /IO problempublic void close() throws java.io.IOException
close
in interface MultiImageWriter
java.io.IOException