Method Summary |
|
public int | getCompression() Returns the value of the compression parameter. |
public int | getDeflateLevel() Gets the compression level for DEFLATE compression. |
public TIFFField[] | getExtraFields() Returns the value set by setExtraFields() . |
public synchronized Iterator | getExtraImages() Returns the additional image Iterator specified via
setExtraImages() or null if none was
supplied or if a null value was supplied. |
public boolean | getJPEGCompressRGBToYCbCr() Whether RGB data will be converted to YCbCr when using JPEG compression. |
public JPEGEncodeParam | getJPEGEncodeParam() Retrieves the JPEG compression parameters. |
public boolean | getLittleEndian() Returns the value of the flag indicating whether the output stream
byte order is little endian. |
public boolean | getReverseFillOrder() Returns value of flag indicating whether CCITT-compressed bilevel
data should be filled in reverse order. |
public boolean | getT4Encode2D() Returns value of flag indicating whether T4-compressed bilevel data
should be two-dimensionally encoded. |
public boolean | getT4PadEOLs() Returns value of flag indicating whether T4-compressed bilevel data
should have the embedded EOL bit sequences padded to byte alignment. |
public int | getTileHeight() Retrieves the tile height set via setTileSize() . |
public int | getTileWidth() Retrieves the tile width set via setTileSize() . |
public boolean | getWriteTiled() Returns the value of the writeTiled parameter. |
public void | setCompression(int compression) Specifies the type of compression to be used. |
public void | setDeflateLevel(int deflateLevel) Sets the compression level for DEFLATE-compressed data which should
either be java.util.Deflater.DEFAULT_COMPRESSION or a
value in the range [1,9] where larger values indicate more compression.
The default setting is Deflater.DEFAULT_COMPRESSION . |
public void | setExtraFields(TIFFField[] extraFields) Sets an array of extra fields to be written to the TIFF Image File
Directory (IFD). |
public synchronized void | setExtraImages(Iterator extraImages) Sets an Iterator of additional images to be written
after the image passed as an argument to the ImageEncoder .
The methods on the supplied Iterator must only be invoked
by the ImageEncoder which will exhaust the available
values unless an error occurs.
The value returned by an invocation of next() on the
Iterator must return either a RenderedImage
or an Object[] of length 2 wherein the element at index
zero is a RenderedImage amd the other element is a
TIFFEncodeParam . |
public void | setJPEGCompressRGBToYCbCr(boolean convertJPEGRGBToYCbCr) Sets flag indicating whether to convert RGB data to YCbCr when the
compression type is JPEG. |
public void | setJPEGEncodeParam(JPEGEncodeParam jpegEncodeParam) Sets the JPEG compression parameters. |
public void | setLittleEndian(boolean isLittleEndian) Sets a flag indicating whether the byte order used to write the
output stream is little endian. |
public void | setReverseFillOrder(boolean reverseFillOrder) Set value of flag indicating whether CCITT-compressed bilevel
data should be filled in reverse order. |
public void | setT4Encode2D(boolean T4Encode2D) Set value of flag indicating whether T4-compressed bilevel data
should be two-dimensionally encoded. |
public void | setT4PadEOLs(boolean T4PadEOLs) Sets value of flag indicating whether T4-compressed bilevel data
should have the embedded EOL bit sequences padded to byte alignment.
If true , zero-valued bits are prepended to each EOL
bit sequence 0x001 such that the EOL is right-aligned
on a byte boundary:
xxxx-0000 0000-0001
where "x" denotes a value which could be either data or a fill bit
depending on the alignment of the data before the EOL. |
public void | setTileSize(int tileWidth, int tileHeight) Sets the dimensions of the tiles to be written. |
public void | setWriteTiled(boolean writeTiled) If set, the data will be written out in tiled format, instead of
in strips. |