ImageGear .NET v24.12 - Updated
StretchContrast(ImGearRasterPage) Method




ImageGear24.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > StretchContrast Method : StretchContrast(ImGearRasterPage) Method
Image to process.
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

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List
ImGearRasterPage Class