Cuminas DjVu SDK for .NET Framework
JB2EncoderParams Class Members
Properties  Methods 


The following tables list the members exposed by JB2EncoderParams.

Public Constructors
 NameDescription
Public ConstructorJB2EncoderParams Constructor  
Top
Public Properties
 NameDescription
Public PropertyCenterDiffThreshold This parameter controls the shape pivot matching behavior. The default value is 1.  
Public PropertyFlags Flags to control JB2 encoder behavior.  
Public PropertyMaxPalettes Maximum number of palettes on Color-JB2. The default is 256.  
Public PropertyNoiseReductionMethod Noise reduction method for mask layer. For Agressive or Lossy, if None is selected, noise reduction is anyway enabled and RemoveIsolated is used.  
Public PropertyShapeMatchThreshold This parameter controls the shape match behavior. The threshold is based on the pixel area. The default is 12. If the original shape has N pixels, it accepts the shapes of the pixel difference less than N * shapeMatchThreshold / 100. So if shapeMatchThreshold=0, it accepts only identical matches.  
Public PropertyShapeRefineThreshold JB2 shape refinement threshold in 0-100. This parameter controls the refinement threshold. This actually affects on the compression ratio and the compression speed but it does not affect on the resulting quality and there's no linear relation with the compression ratio. The default is 60.  
Public PropertySortShapes Determine whether to sort the shapes before compression. The default is false.  
Top
Public Methods
 NameDescription
Public MethodClone  
Public MethodEquals  
Public MethodGetHashCode  
Public MethodInterfaceClone  
Top
Public Operators
public Operator Equality  
public Operator Inequality  
Top
See Also

Reference

JB2EncoderParams Class
DjVu Namespace

Send Feedback