Class XTIFFDecodeParam

java.lang.Object
com.sun.media.jai.codec.TIFFDecodeParam
org.libtiff.jai.codec.XTIFFDecodeParam
All Implemented Interfaces:
com.sun.media.jai.codec.ImageDecodeParam, Serializable, 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:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected XTIFFDirectory
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a default instance of XTIFFDecodeParam.
    XTIFFDecodeParam(com.sun.media.jai.codec.TIFFDecodeParam param)
    Promotes an XTIFFEncodeParam object from simpler one
  • Method Summary

    Modifier and Type
    Method
    Description
    returns the current XTIFFDirectory
    void
    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 Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • 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 Details

    • getDirectory

      public XTIFFDirectory getDirectory()
      returns the current XTIFFDirectory
    • setDirectory

      public void setDirectory(XTIFFDirectory dir)
      sets the current XTIFFDirectory