Description This method specifies the current image compression for batch scanning.
Usage ret = [form.]TWAIN. SetBatchScanImageCompression iCompMode
Returns ret Long Retruns TW_OK on success, otherwise return the error
code.
Remarks iCompMode Short The new compression mode to set.
Available Compression Modes:
NoComp (201) - No compression
PackBit (202) - Packbit
LZW (203) - LZW
LZWDiff (204) - LZW with differentiation
CCITT31DNOEOL (205) - CCITT Group 3 1D NO EOL
CCITT31D (206) - CCITT Group 3 1D
CCITT32D (207) - CCITT Group 3 2D
CCITT4 (208) - CCITT Group 4
JPEG (209) - JPEG
If the compression mode is not available for curent image settings, the compression mode will be TCOMP_CCITTG4 if the image is monochrome otherwise TCOMP_LZW_DIFF.
Programing Notes
See Also GetBatchScanImageCompression Method