ConvertGraytoBW
Converts Grayscale TIFF files to black and white TIFF files.
Syntax
bool ConvertGraytoBW ()
Parameters
None.Returns
False, if a rule set with this action is bound to a Field object of the Document Hierarchy. Otherwise, True.If the input image is not grayscale, or if there is an error in processing, the image is not converted and the action returns False.
Level
Batch, Document or Page level. If called at the batch level, all images will be converted.If called at the document level all of the pages within the document will be converted.
If called at the page level, the single page will be converted.
Details
This action converts grayscale TIFF files into Black and White TIFF files.The ConvertGraytoBW action is especially good at converting color dropout forms, including medical claims, scanned in grayscale to black and white. The action categorizes each pixel in the image as either foreground (black), dropout (red / light gray), or background (white), to produce a final black and white image without the dropout color.
Attention: The
action renames the original grayscale image using the same base file
name, but replaces the .tif filename extension with .tis.
- Example
ConvertGraytoBW()