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.4.0.9.0.377 (.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 [!:Jpeg2000EncoderOptions::ProgressionOrder] in the [!:Atalasoft::Imaging::Codec::Jpeg2000::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 EnableProgressiveDecompression for enabling progressive reading.

See Also