VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfImageResource Class / Decode Property
Syntax Remarks Requirements SeeAlso
In This Topic
    Decode Property (PdfImageResource)
    In This Topic
    Gets or sets an array of numbers describing how to map image samples into the range of values appropriate for the image's color space.
    Syntax
    'Declaration
    
    <BrowsableAttribute(False)>
    Public Property Decode As Single[]
    
    
    [Browsable(False)]
    public float[] Decode { get; set; }
    
    
    [Browsable(False)]
    public: __property float[] get_Decode();
    public: __property void set_Decode(
    float[]* value
    );
    [Browsable(False)]
    public:
    property float[] Decode { float[] get(); void set(array<float>^ value); }
    Remarks

    If ImageMask is true, the array must be either [ 0 1 ] or [ 1 0 ]; otherwise, its length must be twice the number of color components required by ColorSpace. If the image uses the JPXDecode filter and ImageMask is false, Decode is ignored.

    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