Click or drag to resize

Jpeg2000EncoderCompressionMode Property

Gets or Sets the Jp2CompressionMode to use when compressing an image.

Namespace:  Atalasoft.Imaging.Codec.Jpeg2000
Assembly:  Atalasoft.dotImage.Jpeg2000 (in Atalasoft.dotImage.Jpeg2000.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public Jp2CompressionMode CompressionMode { get; set; }

Property Value

Type: Jp2CompressionMode
The current Jp2CompressionMode.
Remarks

This property specifies how the Compression property will be used. If the CompressionMode is set to Jp2CompressionMode.Size, the encoder will attempt to make the output stream the same size as the value of CompressionSize. If the CompressionMode is set to Jp2CompressionMode.Quality, the CompressionQuality property is used as a percentage where the target output size will try to be Compression% of the original image size. ranging 1 (maximum compression) to 100 (lossless). A value of 0 of the both properties is for lossless.

Jp2CompressionMode.Quality cannot be used with with JPEG2000WaveletFilter.FiveThree, with JPEG2000QuantizationStyle.Derived or with regions of interest.

See Also