SplitTIFFCompression

Sets the compression method used in the TIFF output by SplitMultipageTiff.

Member of namespace

Convert

Syntax

bool SplitTIFFCompression (int compressionTypeColor, int compressionTypeBW)

Parameters

compressionTypeColor
Type: int
compressionTypeBW
Type: int

Parameters

One of the following compression values are allowed.
  • 0 : Source Image compression.
  • 1 : No compression.
  • 2 : CCITT modified Huffman RLE. (BW only)
  • 3 : CCITT Group 3 fax. (BW only)
  • 4 : CCITT Group 4 fax. (BW only)
  • 5 : LZW Lempel-Ziv and Welch

Returns

True if the compression setting was successful.

False if the compression setting used is not a supported type.

Level

Page level.

Details

Sets the compression of the output image from SplitMultipageTiff. If this action is not called, the default value of CCITT4 is used for black and white pages and No compression for color pages.
Example:
SplitTIFFCompression(4,1)
plitMultipageTiff()