Package org.libtiff.jai.codec
Class XTIFFEncodeParam
- java.lang.Object
-
- com.sun.media.jai.codec.TIFFEncodeParam
-
- org.libtiff.jai.codec.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
-
-
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
-
-
-
-
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 classcom.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 classcom.sun.media.jai.codec.TIFFEncodeParam
-
getWriteTiled
public boolean getWriteTiled()
If set, the data is in tiled format, instead of in strips.- Overrides:
getWriteTiled
in classcom.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 classcom.sun.media.jai.codec.TIFFEncodeParam
- Parameters:
writeTiled
- Specifies whether the image data should be wriiten out in tiled format.
-
-