DjVu Namespace : JB2EncoderParams Class |
The following tables list the members exposed by JB2EncoderParams.
Name | Description | |
---|---|---|
![]() | JB2EncoderParams Constructor |
Name | Description | |
---|---|---|
![]() | CenterDiffThreshold | This parameter controls the shape pivot matching behavior. The default value is 1. |
![]() | Flags | Flags to control JB2 encoder behavior. |
![]() | MaxPalettes | Maximum number of palettes on Color-JB2. The default is 256. |
![]() | NoiseReductionMethod | Noise reduction method for mask layer. For Agressive or Lossy, if None is selected, noise reduction is anyway enabled and RemoveIsolated is used. |
![]() | ShapeMatchThreshold | 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. |
![]() | ShapeRefineThreshold | 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. |
![]() | SortShapes | Determine whether to sort the shapes before compression. The default is false. |
Name | Description | |
---|---|---|
![]() | Clone | |
![]() | Equals | |
![]() | GetHashCode | |
![]() | InterfaceClone |