Class XTIFFEncodeParam

  • All Implemented Interfaces:
    com.sun.media.jai.codec.ImageDecodeParam, com.sun.media.jai.codec.ImageEncodeParam, Serializable, 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

      Constructors 
      Constructor Description
      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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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.
      • 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.