DTWAIN Compression Constants

Top  Previous  Next

The DTWAIN_GetCompressionType, DTWAIN_SetCompressionType, are used when the application requests a buffered image transfer with compression. The compression values that are available are as follows:

 

Compression Type

Description

DTWAIN_CP_NONE        

No Compression

DTWAIN_CP_PACKBITS        

Packbits

DTWAIN_CP_GROUP31D        

TIFF Group 3 (1-Dimensional)

DTWAIN_CP_GROUP31DEOL

TIFF Group 3 (EOL)

DTWAIN_CP_GROUP32D        

TIFF Group 3 (2-Dimensional)

DTWAIN_CP_GROUP4        

TIFF Group 4

DTWAIN_CP_JPEG        

JPEG Compression

DTWAIN_CP_LZW                

LZW Compression

DTWAIN_CP_JBIG        

JBIG Format

DTWAIN_CP_PNG        

PNG Format

DTWAIN_CP_RLE4                

RLE 4

DTWAIN_CP_RLE8        

RLE 6

DTWAIN_CP_BITFIELDS

BitFields

 

Note that all Sources must support DTWAIN_CP_NONE (No compression).  The other values are dependent solely on the support that the Source provides.