Class JpegLsPresetCodingParameters
Namespace: Aspose.Imaging.FileFormats.Jpeg
Assembly: Aspose.Imaging.dll (25.7.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
object ← JpegLsPresetCodingParameters
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()
{
Quality = 90;
Subsampling = Subsampling422;
HuffmanTables = new byte[][]
{
new byte[1], new byte[1], new byte[3], new byte[51]
};
}
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
ResetValue
Gets or sets the value at which the counters A, B, and N are halved.
public int ResetValue
{
get;
set;
}
Property Value
Threshold1
Gets or sets the first quantization threshold value for the local gradients.
public int Threshold1
{
get;
set;
}
Property Value
Threshold2
Gets or sets the second quantization threshold value for the local gradients.
public int Threshold2
{
get;
set;
}
Property Value
Threshold3
Gets or sets the third quantization threshold value for the local gradients.
public int Threshold3
{
get;
set;
}