RtfTiffCompression

Sets the compression used in the TIFF output by RtfToImage.

Member of namespace

Convert

Syntax

bool RtfTiffCompression (string tiffCompression)

Parameters

tiffCompression
Type: string
A parameter of one of the following values to set the TIFF compression:

Parameters

  • NONE : A color image with no compression.
  • LZW : A color image using LZW compression.
  • CCITT4 : A black and white image with fax CCITT4 compression.

Returns

Always True.

Level

Page level.

Details

Sets the compression of the output image from RtfToImage. If this action is not called, the default value of CCITT4 is used. Typically, input documents for recognition are black and white with fax compression.
Example:
RtfTiffCompression(CCITT4)
RtfToImage()