public class XTIFFImageEncoder
extends com.sun.media.jai.codecimpl.TIFFImageEncoder
Modifier and Type | Field and Description |
---|---|
static int |
XTIFF_BILEVEL_BLACK_IS_ZERO |
static int |
XTIFF_BILEVEL_WHITE_IS_ZERO |
static int |
XTIFF_FULLCOLOR |
static int |
XTIFF_GREYSCALE |
static int |
XTIFF_PALETTE |
Constructor and Description |
---|
XTIFFImageEncoder(java.io.OutputStream output,
com.sun.media.jai.codec.ImageEncodeParam param)
Standard constructor
|
Modifier and Type | Method and Description |
---|---|
void |
encode(java.awt.image.RenderedImage im)
Encodes a RenderedImage and writes the output to the OutputStream
associated with this ImageEncoder.
|
protected int |
getSampleSize() |
protected int |
getTileSize() |
public static final int XTIFF_BILEVEL_WHITE_IS_ZERO
public static final int XTIFF_BILEVEL_BLACK_IS_ZERO
public static final int XTIFF_PALETTE
public static final int XTIFF_FULLCOLOR
public static final int XTIFF_GREYSCALE
public XTIFFImageEncoder(java.io.OutputStream output, com.sun.media.jai.codec.ImageEncodeParam param)
public void encode(java.awt.image.RenderedImage im) throws java.io.IOException
encode
in interface com.sun.media.jai.codec.ImageEncoder
encode
in class com.sun.media.jai.codecimpl.TIFFImageEncoder
java.io.IOException
protected int getSampleSize()
protected int getTileSize()