Accusoft.TwainProSdk Namespace : EncodeModeCompression Enumeration |
'Declaration Public Enum EncodeModeCompression Inherits System.Enum
'Usage Dim instance As EncodeModeCompression
public enum EncodeModeCompression : System.Enum
__value public enum EncodeModeCompression : public System.Enum
public enum class EncodeModeCompression : public System.Enum
Member | Value | Description |
---|---|---|
AutoDetect | 0 | Default, Lossless Generic MQ |
LosslessGenericMmr | 2 | Fast, very good lossless compression, use for any content, similar to G4 coding, uses Huffman/MMR coding |
LosslessGenericMq | 1 | Fast, great lossless compression, use for any content, uses MQ arithmetic coding |
LosslessTextMmr | 4 | Very good lossless compression possible, use for text or symbols, uses Huffman/MMR coding |
LosslessTextMq | 3 | Great lossless compression possible, use for text or symbols, uses MQ arithmetic coding |
LosslessTextSpmMmr | 6 | Potentially best lossless compression for text or symbols, uses Huffman/MMR coding plus MQ arithmetic coding |
LosslessTextSpmMq | 5 | Potentially best lossless compression for text or symbols, uses MQ arithmetic coding |
LossyHalftoneMmr | 10 | Good lossy compression for halftones, uses Huffman/MMR coding |
LossyHalftoneMq | 9 | Good lossy compression for halftones, uses MQ arithmetic coding |
LossyTextMmr | 8 | Very good lossy compression for text or symbols, uses Huffman/MMR coding |
LossyTextMq | 7 | Great lossy compression for text or symbols, uses MQ arithmetic coding |
Text regions can be encoded as lossless or as lossy according to the encoding mode specified. The lossy modes use the value in SaveOptionsPdf.LoosenessCompression to control how loose to be when matching symbols and thereby increase compression and reduce file size. Compression means loss, however, and a consequence of higher compression is an increased risk of errors in the reconstructed image.
Specify a larger value of looseness to reduce the compressed file size; use a smaller value to reduce the errors, if any. Halftone regions can be encoded lossy by specifying one of the lossy halftone encoding modes. Alternatively, they can be encoded lossless by using the lossless generic encoding mode.
System.Object
System.ValueType
System.Enum
Accusoft.TwainProSdk.EncodeModeCompression