TIFFCompressionType

Description

Returns or sets the compression type for TIFF files.

Data type

<int>

Syntax

.TIFFCompressionType = EnumDWT_TIFFCompressionType.TIFF_AUTO;

Parameters

None

Remarks

Allowed Values TIFF compression type Description Supported image format
0 EnumDWT_TIFFCompressionType.TIFF_AUTO Auto mode 1, 4, 8, 24 bit
1 EnumDWT_TIFFCompressionType.TIFF_NONE Dump mode 1, 4, 8, 24 bit
2 EnumDWT_TIFFCompressionType.TIFF_RLE CCITT modified Huffman RLE 1 bit
3 EnumDWT_TIFFCompressionType.TIFF_FAX3 CCITT Group 3 fax encoding 1 bit
EnumDWT_TIFFCompressionType.TIFF_T4 CCITT T.4 (TIFF 6 name) 1 bit
4 EnumDWT_TIFFCompressionType.TIFF_FAX4 CCITT Group 4 fax encoding 1 bit
EnumDWT_TIFFCompressionType.TIFF_T6 CCITT T.6 (TIFF 6 name) 1 bit
5 EnumDWT_TIFFCompressionType.TIFF_LZW Lempel-Ziv & Welch 1, 4, 8, 24 bit
7 EnumDWT_TIFFCompressionType.TIFF_JPEG JPEG encoding 4, 8, 24 bit
32773 EnumDWT_TIFFCompressionType.TIFF_PACKBITS Macintosh RLE 1, 4, 8, 24 bit

If the set compression mode couldn't apply to the target image, the program itself will switch to Auto Mode.

With the setting TIFF_AUTO (0), 1-bit images will be compressed by TIFF_T6 (4) standard, images with other bit depth will be compressed by TIFF_LZW (5).

With the setting TIFF_JPEG (7), 1-bit images will be compressed by TIFF_T6 (4), 8-bit or higher grey images by TIFF_JPEG (7) standard, and other images by TIFF_LZW (5).

TIFF_T4 (3) and TIFF_FAX3 (3) are referring to the same compression type.
TIFF_T6 (4) and TIFF_FAX4 (4) are also referring to the same compression type.

When TIFF_JPEG (7) is used, you can use JPEGQuality to further reduce the size of the TIFF file.

When an error occurs, check ErrorCode or ErrorString for error information.

This property will influence the following methods
SaveAllAsMultiPageTIFF
SaveAsTIFF
SaveSelectedImagesAsMultiPageTIFF
FTPUploadAllAsMultiPageTIFF
FTPUploadAsMultiPageTIFF
HTTPUploadAllThroughPostAsMultiPageTIFF
HTTPUploadThroughPostAsMultiPageTIFF