Jp2EncoderOptionsCodeBlockSize Property |
Namespace: Atalasoft.Imaging.Codec.Jpeg2000
Exception | Condition |
---|---|
ArgumentOutOfRangeException | Thrown is the width or height is less than 1 or greater than 4096 |
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.