Accusoft.TwainPro9.Net
EncodeModeCompression Enumeration




Option values which specify the encoding mode to use when creating a JBIG2 compressed file.
Syntax
'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 
Members
MemberValueDescription
AutoDetect0Default, Lossless Generic MQ
LosslessGenericMmr2Fast, very good lossless compression, use for any content, similar to G4 coding, uses Huffman/MMR coding
LosslessGenericMq1Fast, great lossless compression, use for any content, uses MQ arithmetic coding
LosslessTextMmr4Very good lossless compression possible, use for text or symbols, uses Huffman/MMR coding
LosslessTextMq3Great lossless compression possible, use for text or symbols, uses MQ arithmetic coding
LosslessTextSpmMmr6Potentially best lossless compression for text or symbols, uses Huffman/MMR coding plus MQ arithmetic coding
LosslessTextSpmMq5Potentially best lossless compression for text or symbols, uses MQ arithmetic coding
LossyHalftoneMmr10Good lossy compression for halftones, uses Huffman/MMR coding
LossyHalftoneMq9Good lossy compression for halftones, uses MQ arithmetic coding
LossyTextMmr8Very good lossy compression for text or symbols, uses Huffman/MMR coding
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 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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Accusoft.TwainProSdk.EncodeModeCompression

See Also

Reference

Accusoft.TwainProSdk Namespace

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback