Accusoft TwainPRO 9
TP_SaveJBIG2EncodeModeCompression Enumeration
Description
Option values which determine the encoding mode to use when creating a JBIG2 compressed file.
Members
MemberValueDescription
TP_SaveJBIG2EncodeModeCompression_AutoDetect0Default, Lossless generic MQ.
TP_SaveJBIG2EncodeModeCompression_LosslessGenericMMR2Fast, very good lossless compression, use for any content, similar to G4 coding, uses Huffman/MMR coding.
TP_SaveJBIG2EncodeModeCompression_LosslessGenericMQ1Fast, great lossless compression, use for any content, uses MQ arithmetic coding.
TP_SaveJBIG2EncodeModeCompression_LosslessTextMMR4Very good lossless compression possible, use for text or symbols, uses Huffman/MMR coding.
TP_SaveJBIG2EncodeModeCompression_LosslessTextMQ3Great lossless compression possible, use for text or symbols, uses MQ arithmetic coding.
TP_SaveJBIG2EncodeModeCompression_LosslessTextSPM_MMR6Potentially the best lossless compression for text or symbols, uses Huffman/MMR coding plus MQ arithmetic coding.
TP_SaveJBIG2EncodeModeCompression_LosslessTextSPM_MQ5Potentially the best lossless compression for text or symbols, uses MQ arithmetic coding.
TP_SaveJBIG2EncodeModeCompression_LossyHalftoneMMR10Good lossy compression for halftones, uses Huffman/MMR coding
TP_SaveJBIG2EncodeModeCompression_LossyHalftoneMQ9Good lossy compression for halftones, uses MQ arithmetic coding
TP_SaveJBIG2EncodeModeCompression_LossyTextMMR8Very good lossy compression for text or symbols, uses Huffman/MMR coding.
TP_SaveJBIG2EncodeModeCompression_LossyTextMQ7Great lossy compression for text or symbols, uses MQ arithmetic coding.
Remarks

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.

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback