Please enable JavaScript to view this site.

TIFF Image Printer

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

SectionName:

TIFF File Format

PropertyName:

Color compression

varValue:

VT_BSTR, one of the following:

Uncompressed RGB

Uncompressed CMYK

Packbits RGB

Packbits CMYK

High quality JPEG

Medium High quality JPEG

Medium quality JPEG

Medium Low quality JPEG

Low quality JPEG

LZW RGB

LZW CMYK

Indexed

SectionName:

TIFF File Format

PropertyName:

Indexed compression

varValue:

VT_BSTR, one of the following:

Uncompressed

Packbits

High quality JPEG

Medium High quality JPEG

Medium quality JPEG

Medium Low quality JPEG

Low quality JPEG

LZW

Greyscale

SectionName:

TIFF File Format

PropertyName:

Greyscale compression

varValue:

VT_BSTR, one of the following:

Uncompressed

Packbits

High quality JPEG

Medium High quality JPEG

Medium quality JPEG

Medium Low quality JPEG

Low quality JPEG

LZW

BW

SectionName:

TIFF File Format

PropertyName:

BW compression

varValue:

VT_BSTR, one of the following:

None

Group4

Group3-2D

Group3-1D

MH

LZW

Packbits

Supported Printers: TIFF Image Printer, Raster Image Printer

See Also: SetProperty pnColorColorCompressionMethod pnIndexedCompressionMethod pnGreyscaleCompressionMethod pnBWCompressionMethod