Click or drag to resize

Jp2DecoderScaleDown Property

Gets or sets a factor that is used to scale downwards the image as it's decoded.

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

Property Value

Type: Int32
Exceptions
ExceptionCondition
[ArgumentOutOfRangeException] Thrown if the input value is not power of 2.
Remarks
The default value is 1. Values must be a power of two. For example, a value of 2 will reduce the image data by 1/2. A value of 8 reduces by 1/8. Valid values are 1, 2, 4, 8, 16, 32, etc...
See Also