SetTIFFCompression (deprecated)

Controls the compression format when saving a TIFF. This action has been deprecated and is scheduled to be removed in a future release. It is recommended that you no longer use this action. Instead, use the SaveImageAsSettingsTIFF action in the ImageUtilties action library.

Syntax

bool SetTIFFCompression (StrParam)

Parameters

One of the following values:
  • 0 : No compression.
  • 1 : Run length encoding (RLE).
  • 2 : CCITT Group 3 fax compression.
  • 3 : CCITT Group 4 fax compression.
  • 4 : LZW compression.
  • 5 : Apple Macintosh PackBits compression.
  • 6 : JPEG compression format.
  • 7 : Lossless compression standard derived from LZ77.
  • 8 : CCITT Group 3 two-dimensional standard fax compression.

Smart Parameters are supported.

Returns

Always True.

Level

All levels.

Details

This action sets the compression type of the TIFF that is output from the action ConvertToTIFF. Typically Group 4 compression is used for performing recognition on images.

All of these possible output formats may not be supported by other image processing actions. If this action is not called, Group 4 compression will be used.

Example:
SetTiffCompression("3")
ConvertToTIFF()