Compression PropertiesTerminal Works - TwainScanning.Net Library

The Compression type exposes the following members.

Properties

  NameDescription
Public propertyBitOrderCodes
Used for CCITT data compression only. Indicates the bit order representation of the stored compressed codes. ICAP_BITORDERCODES
Public propertyCcittKFactor
Used for CCITT Group 3 2-dimensional compression.The ‘K’ factor indicates how often the new compression baseline should be re-established.A value of 2 or 4 is common in facsimile communication.A value of zero in this field will indicate an infinite K factor—the baseline is only calculated at the beginning of the transfer. ICAP_CCITTKFACTOR
Public propertyJpegPixelType
Allows the application and Source to agree upon a common set of color descriptors that are made available by the Source.This ICAP is only useful for JPEG-compressed buffered memory image transfers. ICAP_JPEGPIXELTYPE
Public propertyJpegQuality
Use this capability as a shortcut to select JPEG quantization tables that tradeoff quality versus compressed image size. Used in concert with DAT_JPEGCOMPRSSION it is possible for an Application to obtain the tables that are appropriate for varying percentages of quality within a given Source. ICAP_JPEGQUALITY
Public propertyJpegSubSampling
Use this capability and JpegQuality as a shortcut to select JPEG quantization. ICAP_JPEGSUBSAMPLING
Public propertyMethod
Compression method for Buffered Memory Transfers and File transfers. ICAP_COMPRESSION
Public propertyPixelFlavorCodes
Sense of the pixel whose numeric value is zero (minimum data value). ICAP_PIXELFLAVORCODES
Public propertyTimeFill
Used only with CCITT data compression. Specifies the minimum number of words of compressed codes(compressed data) to be transmitted per line. ICAP_TIMEFILL
Top
See Also

Reference