ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / InvertContrast Method / InvertContrast(ImGearRasterPage) Method
Image to invert contrast.




In This Topic
    InvertContrast(ImGearRasterPage) Method
    In This Topic
    Inverts image contrast.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub InvertContrast( _
       ByVal page As ImGearRasterPage _
    ) 
    'Usage
     
    Dim page As ImGearRasterPage
     
    ImGearRasterProcessing.InvertContrast(page)
    public static void InvertContrast( 
       ImGearRasterPage page
    )
    public: static void InvertContrast( 
       ImGearRasterPage* page
    ) 
    public:
    static void InvertContrast( 
       ImGearRasterPage^ page
    ) 

    Parameters

    page
    Image to invert contrast.
    Remarks
    If the image is indexed and the palette is not grayscale, this method modifies image's palette, otherwise it modifies image's pixels. The method processes only color channels.

    Use ImGearRasterProcessingVerifier.CanApplyInvertContrast method to check whether the operation can be performed.

    Example
    See Also