Accusoft.TwainPro8.Net
EncodeModeCompression Property
See Also  Send Feedback
Accusoft.TwainProSdk Namespace > SaveOptionsPdf Class : EncodeModeCompression Property




Glossary Item Box

Specifies the encoding mode to use when creating a JBIG2 compressed file.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Property Value

The EncodeModeCompression value which determines the encoding mode to use when creating a JBIG2 compressed file.

Remarks

The default value is AutoDetect.

Text regions can be encoded as lossless or as lossy according to the encoding mode specified. The lossy modes use the value in SaveOptions.Pdf.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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.