ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Processing Namespace / ImGearRasterProcessing Class / StretchContrast Method / StretchContrast(ImGearRasterPage) Method
Image to process.




In This Topic
    StretchContrast(ImGearRasterPage) Method
    In This Topic
    Stretches image contrast. If image is Indexed and not grayscale, modifies image's palette, otherwise modifies image's pixels. Processes only color channels.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub StretchContrast( _
       ByVal page As ImGearRasterPage _
    ) 
    'Usage
     
    Dim page As ImGearRasterPage
     
    ImGearRasterProcessing.StretchContrast(page)
    public static void StretchContrast( 
       ImGearRasterPage page
    )
    public: static void StretchContrast( 
       ImGearRasterPage* page
    ) 
    public:
    static void StretchContrast( 
       ImGearRasterPage^ page
    ) 

    Parameters

    page
    Image to process.
    Remarks
    Can be applied only to raster pages with standard (non Run-Ends) DIB.

    Use CanApplyStretchContrast method to check whether the operation can be performed.

    See Also