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

    This color transform uses the following formula: Gray = 0.21 * R + 0.72 * G + 0.07 * B

    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