Class JpegLsPresetCodingParameters

Class JpegLsPresetCodingParameters

Namespace: Aspose.Imaging.FileFormats.Jpeg
Assembly: Aspose.Imaging.dll (25.2.0)

Defines the JPEG-LS preset coding parameters as defined in ISO/IEC 14495-1, C.2.4.1.1. JPEG-LS defines a default set of parameters, but custom parameters can be used. When used these parameters are written into the encoded bit stream as they are needed for the decoding process.

[JsonObject(MemberSerialization.OptIn)]
public class JpegLsPresetCodingParameters

Inheritance

objectJpegLsPresetCodingParameters

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

JpegLsPresetCodingParameters()

[JsonConstructor]
public JpegLsPresetCodingParameters()

Properties

MaximumSampleValue

Gets or sets the maximum possible value for any image sample in a scan. This must be greater than or equal to the actual maximum value for the components in a scan.

public int MaximumSampleValue { get; set; }

Property Value

int

ResetValue

Gets or sets the value at which the counters A, B, and N are halved.

public int ResetValue { get; set; }

Property Value

int

Threshold1

Gets or sets the first quantization threshold value for the local gradients.

public int Threshold1 { get; set; }

Property Value

int

Threshold2

Gets or sets the second quantization threshold value for the local gradients.

public int Threshold2 { get; set; }

Property Value

int

Threshold3

Gets or sets the third quantization threshold value for the local gradients.

public int Threshold3 { get; set; }

Property Value

int