AccusoftTwainPro9 ActiveX DLL : TP_SaveJBIG2EncodeModeCompression Enumeration |
Member | Value | Description |
---|---|---|
TP_SaveJBIG2EncodeModeCompression_AutoDetect | 0 | Default, Lossless generic MQ. |
TP_SaveJBIG2EncodeModeCompression_LosslessGenericMMR | 2 | Fast, very good lossless compression, use for any content, similar to G4 coding, uses Huffman/MMR coding. |
TP_SaveJBIG2EncodeModeCompression_LosslessGenericMQ | 1 | Fast, great lossless compression, use for any content, uses MQ arithmetic coding. |
TP_SaveJBIG2EncodeModeCompression_LosslessTextMMR | 4 | Very good lossless compression possible, use for text or symbols, uses Huffman/MMR coding. |
TP_SaveJBIG2EncodeModeCompression_LosslessTextMQ | 3 | Great lossless compression possible, use for text or symbols, uses MQ arithmetic coding. |
TP_SaveJBIG2EncodeModeCompression_LosslessTextSPM_MMR | 6 | Potentially the best lossless compression for text or symbols, uses Huffman/MMR coding plus MQ arithmetic coding. |
TP_SaveJBIG2EncodeModeCompression_LosslessTextSPM_MQ | 5 | Potentially the best lossless compression for text or symbols, uses MQ arithmetic coding. |
TP_SaveJBIG2EncodeModeCompression_LossyHalftoneMMR | 10 | Good lossy compression for halftones, uses Huffman/MMR coding |
TP_SaveJBIG2EncodeModeCompression_LossyHalftoneMQ | 9 | Good lossy compression for halftones, uses MQ arithmetic coding |
TP_SaveJBIG2EncodeModeCompression_LossyTextMMR | 8 | Very good lossy compression for text or symbols, uses Huffman/MMR coding. |
TP_SaveJBIG2EncodeModeCompression_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 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.