BufferMemoryCompression property (ILTDataTransfer)
long BufferMemoryCompression | |
Overview |
Refer to Getting and Setting Capabilities |
Remarks
Gets or sets the value indicating the compression to be used when the TransferMode property is set to Memory Buffered Transfer Mode (L_TWSX_MEMORY). Possible values are (according to the TWAIN 1.9 specification):
Value |
Meaning |
L_TWCP_NONE |
No compression is to be used. |
L_TWCP_PACKBITS |
Pack Bits compression. |
L_TWCP_GROUP31D |
CCITT Group 3 compression with no End of Line. |
L_TWCP_GROUP31DEOL |
CCITT Group 3 compression with End of Line. |
L_TWCP_GROUP32D |
CCITT Group 3 compression (use cap for K Factor). |
L_TWCP_GROUP4 |
CCITT Group 4 compression. |
L_TWCP_JPEG |
JPEG compression. |
L_TWCP_LZW |
LZW compression (like gifs). |
L_TWCP_JBIG |
JBIG compression, used mostly for bi-tonal images. |
L_TWCP_PNG |
PNG compressed. |
L_TWCP_RLE4 |
RLE4 compression. |
L_TWCP_RLE8 |
RLE8 compression. |
L_TWCP_BITFIELDS |
Bit Fields compression. |
This property is updated with the driver’s current setting when the GetProperties method is called.
To update the data transfer options, set this property and the other ILTDataTransfer properties accessed by the DataTransfer property and call the SetProperties method.
See Also