VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.ImageProcessing.Color Namespace / ChangeGammaCommand Class / ChangeGammaCommand Constructors / ChangeGammaCommand Constructor(Double,Double,Double)
Syntax Exceptions Requirements SeeAlso
In This Topic
    ChangeGammaCommand Constructor(Double,Double,Double)
    In This Topic
    Initializes a new instance of the ChangeGammaCommand class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal redGamma
    The gamma value, which must be applied to the red channel of image.
    As Double, _
    ByVal greenGamma
    The gamma value, which must be applied to the green channel of image.
    As Double, _
    ByVal blueGamma
    The gamma value, which must be applied to the blue channel of image.
    As Double _
    )
    public ChangeGammaCommand(
    double redGamma,
    double greenGamma,
    double blueGamma
    )
    public: ChangeGammaCommand(
    double redGamma,
    double greenGamma,
    double blueGamma
    )
    public:
    ChangeGammaCommand(
    double redGamma,
    double greenGamma,
    double blueGamma
    )

    Parameters

    redGamma
    The gamma value, which must be applied to the red channel of image.
    greenGamma
    The gamma value, which must be applied to the green channel of image.
    blueGamma
    The gamma value, which must be applied to the blue channel of image.
    Exceptions
    ExceptionDescription
    Thrown if one of gamma values is less than 0.
    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