ImageGear for C and C++ on Windows v19.6 - Updated
ICAP_COMPRESSION
User Guide > How to Work with... > Common Operations > Scanning > TWAIN Scanning > Set Scanning Capabilities > ICAP_COMPRESSION

Data Type:

TW_UINT16

Purpose:

Allows the application and Source to identify which compression schemes they have in common for Buffered Memory and File transfers.

Since only certain file formats support compression, this capability must be negotiated after setting the desired file format with ICAP_IMAGEFILEFORMAT.

Applications must not assume that a Source can provide compressed Buffered Memory or File transfers, because many cannot. The application should use MSG_SET on a TW_ONEVALUE container to specify the compression type for future transfers.

Valid Values:

Default Value:

TWCP_NONE