org.libtiff.jai.codec
Class XTIFFEncodeParam

java.lang.Object
  extended by com.sun.media.jai.codec.TIFFEncodeParam
      extended by org.libtiff.jai.codec.XTIFFEncodeParam
All Implemented Interfaces:
com.sun.media.jai.codec.ImageDecodeParam, com.sun.media.jai.codec.ImageEncodeParam, java.io.Serializable, java.lang.Cloneable

public class XTIFFEncodeParam
extends com.sun.media.jai.codec.TIFFEncodeParam

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.media.jai.codec.TIFFEncodeParam
COMPRESSION_DEFLATE, COMPRESSION_GROUP3_1D, COMPRESSION_GROUP3_2D, COMPRESSION_GROUP4, COMPRESSION_JPEG_TTN2, COMPRESSION_LZW, COMPRESSION_NONE, COMPRESSION_PACKBITS
 
Constructor Summary
XTIFFEncodeParam()
          Constructs an XTIFFEncodeParam object with default values for parameters.
XTIFFEncodeParam(com.sun.media.jai.codec.TIFFEncodeParam param)
          Promotes an XTIFFEncodeParam object from simpler one
 
Method Summary
 int getCompression()
          Specifies the type of compression to be used.
 XTIFFDirectory getDirectory()
           
 boolean getWriteTiled()
          If set, the data is in tiled format, instead of in strips.
 void initialize()
          Initializes an XTIFFEncodeParam with default values for parameters.
 void setCompression(int compression)
          Specifies the type of compression to be used.
 void setWriteTiled(boolean writeTiled)
          If set, the data will be written out in tiled format, instead of in strips.
 
Methods inherited from class com.sun.media.jai.codec.TIFFEncodeParam
getDeflateLevel, getExtraFields, getExtraImages, getJPEGCompressRGBToYCbCr, getJPEGEncodeParam, getLittleEndian, getReverseFillOrder, getT4Encode2D, getT4PadEOLs, getTileHeight, getTileWidth, setDeflateLevel, setExtraFields, setExtraImages, setJPEGCompressRGBToYCbCr, setJPEGEncodeParam, setLittleEndian, setReverseFillOrder, setT4Encode2D, setT4PadEOLs, setTileSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTIFFEncodeParam

public XTIFFEncodeParam(com.sun.media.jai.codec.TIFFEncodeParam param)
Promotes an XTIFFEncodeParam object from simpler one


XTIFFEncodeParam

public XTIFFEncodeParam()
Constructs an XTIFFEncodeParam object with default values for parameters.

Method Detail

initialize

public void initialize()
Initializes an XTIFFEncodeParam with default values for parameters.


getDirectory

public XTIFFDirectory getDirectory()

setCompression

public void setCompression(int compression)
Specifies the type of compression to be used. The compression type specified will be honored only if it is compatible with the image being written out.

Overrides:
setCompression in class com.sun.media.jai.codec.TIFFEncodeParam
Parameters:
compression - The compression type.

getCompression

public int getCompression()
Specifies the type of compression to be used. The compression type specified will be honored only if it is compatible with the image being written out.

Overrides:
getCompression in class com.sun.media.jai.codec.TIFFEncodeParam

getWriteTiled

public boolean getWriteTiled()
If set, the data is in tiled format, instead of in strips.

Overrides:
getWriteTiled in class com.sun.media.jai.codec.TIFFEncodeParam

setWriteTiled

public void setWriteTiled(boolean writeTiled)
If set, the data will be written out in tiled format, instead of in strips.

Overrides:
setWriteTiled in class com.sun.media.jai.codec.TIFFEncodeParam
Parameters:
writeTiled - Specifies whether the image data should be wriiten out in tiled format.