org.apache.batik.ext.awt.image.codec.tiff
Class TIFFImageEncoder
java.lang.Object
org.apache.batik.ext.awt.image.codec.util.ImageEncoderImpl
org.apache.batik.ext.awt.image.codec.tiff.TIFFImageEncoder
- All Implemented Interfaces:
- ImageEncoder
public class TIFFImageEncoder
- extends ImageEncoderImpl
A baseline TIFF writer. The writer outputs TIFF images in either Bilevel,
Greyscale, Palette color or Full Color modes.
Method Summary |
void |
encode(RenderedImage im)
Encodes a RenderedImage and writes the output to the
OutputStream associated with this ImageEncoder. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TIFFImageEncoder
public TIFFImageEncoder(OutputStream output,
ImageEncodeParam param)
encode
public void encode(RenderedImage im)
throws IOException
- Encodes a RenderedImage and writes the output to the
OutputStream associated with this ImageEncoder.
- Specified by:
encode
in interface ImageEncoder
- Specified by:
encode
in class ImageEncoderImpl
- Throws:
IOException
Copyright © 2008 Apache Software Foundation. All Rights Reserved.