VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ColorManagement Namespace / ColorTransforms Class / RgbToGrayAverage Property
Syntax Remarks Requirements SeeAlso
In This Topic
    RgbToGrayAverage Property (ColorTransforms)
    In This Topic
    Gets a standard color transform from RGB to Gray using Average method.
    Syntax
    'Declaration
    
    Public Shared ReadOnly Property RgbToGrayAverage As ColorTransform
    
    
    public static ColorTransform RgbToGrayAverage { get; }
    
    
    public: __property static ColorTransform* get_RgbToGrayAverage();
    
    
    
    public:
    static property ColorTransform^ RgbToGrayAverage { ColorTransform^ get(); }
    Remarks

    This color transform uses the following formula: Gray = (R + G + B) / 3.

    Requirements

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

    See Also