Description
Sets the TIFF compression options used to store the image in the output file. The actual compression method used on each page will depend on the color reduction method chosen through the SetSaveOptions method. Other output options used, such as SetFaxImageOptions may also override any settings chosen here.
To set only a single compression option use the SetProperty call with the appropriate arguments. See the Remarks below for a list of arguments.
Syntax
expression.SetTIFFCompressionOptions(Color, Indexed, Greyscale, BW)
where expression is an IPNSession object.
Parameters
pnColorCompressionMethod Color
A pnColorCompressionMethod constant for the compression method to use for color images.
pnIndexedCompressionMethod Indexed
A pnIndexedCompressionMethod constant for the compression method to use for indexed images. An indexed image is an image that has 256 colors or less.
pnGreyscaleCompressionMethod Greyscale
A pnGreyscaleCompressionMethod constant for the compression method to use for greyscale images.
pnBWCompressionMethod BW
A pnBWCompressionMethod constant for the compression method to use for black and white images.
Remarks
Use the following to set these options using SetProperty:
Method Parameter |
SetProperty Parameters |
||||||
---|---|---|---|---|---|---|---|
Color |
|
||||||
Indexed |
|
||||||
Greyscale |
|
||||||
BW |
|
Supported Printers: TIFF Image Printer, Raster Image Printer
See Also: SetProperty pnColorColorCompressionMethod pnIndexedCompressionMethod pnGreyscaleCompressionMethod pnBWCompressionMethod