Click or drag to resize

Jp2DecoderProgressiveDecodeSteps Property

Gets or sets the number of progressive decompression steps.

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

Property Value

Type: Int32
Exceptions
ExceptionCondition
[ArgumentOutOfRangeException] Thrown if set to a value less than 1.
Remarks

The default value is 16. Depending on Jp2EncoderOptions.ProgressionOrder in the Jp2Encoder.EncoderOptions property of the encoded source image, progressive output images will update either linearly (for PCRL, CPRL) or exponentially (otherwise). ProgressiveDecodeSteps must be greater than 0. Be aware that the number of useful steps is related to the image dimensions and component size. Large numbers of steps add little benefit to smaller images.

See Jp2Decoder.EnableProgressiveDecompression for enabling progressive reading.

See Also