Click or drag to resize

Jp2EncoderOptionsCodeBlockSize Property

Gets or sets the size of the blocks of coded data.

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 Size CodeBlockSize { get; set; }

Property Value

Type: Size
Exceptions
ExceptionCondition
[ArgumentOutOfRangeException] Thrown is the width or height is less than 1 or greater than 4096
Remarks

The default value is 64 x 64. Smaller code blocks can aid the decoding of regions of an image and error resilience. A code block may contain no more than 4096 samples, i.e. Size.Width * Size.Height <= 4096.

The code block can be set independently for each component in each tile.

See Also