org.libtiff.jai.codec
Class XTIFFDecodeParam

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

public class XTIFFDecodeParam
extends com.sun.media.jai.codec.TIFFDecodeParam

An extension of TIFFDecodeParam for decoding images in the TIFF format. In addition to the inherited properties, this object also retains a reference to the parsed XTIFFDirectory that is constructed from the file. For encoding, an empty XTIFFDirectory is constructed, into which the user may provide any additional tags for controlling the contents of the data. For example, if the image is to be compressed, some additional tags may be needed to specify parameters for the particular compression scheme.

See Also:
XTIFFDirectory, XTIFFDecodeParam, Serialized Form

Constructor Summary
XTIFFDecodeParam()
          Constructs a default instance of XTIFFDecodeParam.
XTIFFDecodeParam(com.sun.media.jai.codec.TIFFDecodeParam param)
          Promotes an XTIFFEncodeParam object from simpler one
 
Method Summary
 XTIFFDirectory getDirectory()
          returns the current XTIFFDirectory
 void setDirectory(XTIFFDirectory dir)
          sets the current XTIFFDirectory
 
Methods inherited from class com.sun.media.jai.codec.TIFFDecodeParam
decode16BitsTo8Bits, decodeSigned16BitsTo8Bits, getDecodePaletteAsShorts, getIFDOffset, getJPEGDecompressYCbCrToRGB, setDecodePaletteAsShorts, setIFDOffset, setJPEGDecompressYCbCrToRGB
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTIFFDecodeParam

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


XTIFFDecodeParam

public XTIFFDecodeParam()
Constructs a default instance of XTIFFDecodeParam.

Method Detail

getDirectory

public XTIFFDirectory getDirectory()
returns the current XTIFFDirectory


setDirectory

public void setDirectory(XTIFFDirectory dir)
sets the current XTIFFDirectory