VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / Jpeg2000EncoderSettings Class / QualityLayers Property
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
    QualityLayers Property (Jpeg2000EncoderSettings)
    In This Topic
    Gets or sets array of values corresponding to relative qualities of each layer; the number of elements in this array defines the number of layers.
    Syntax
    'Declaration
    
    <DescriptionAttribute("Array of values corresponding to relative qualities of each layer; the number of elements in this array defines the number of layers.")>
    Public Property QualityLayers As Double[]
    
    
    [Description("Array of values corresponding to relative qualities of each layer; the number of elements in this array defines the number of layers.")]
    public double[] QualityLayers { get; set; }
    
    
    [Description("Array of values corresponding to relative qualities of each layer; the number of elements in this array defines the number of layers.")]
    public: __property double[] get_QualityLayers();
    public: __property void set_QualityLayers(
    double[]* value
    );
    [Description("Array of values corresponding to relative qualities of each layer; the number of elements in this array defines the number of layers.")]
    public:
    property double[] QualityLayers { double[] get(); void set(array<double>^ value); }

    Property Value

    Value can't be null. Value must contain at least one element. Value must contain only non-negative elements and at least one positive element. Default value is one-element array with only element's value 1.0.
    Exceptions
    ExceptionDescription
    Thrown if new value is null.
    Thrown if new value is an empty array.
    Remarks

    There is no need to provide normalized array as the values of array are normalized before encoding.

    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also