ImageGear .NET v25.2 - Updated
Solarize(ImGearRasterPage,Int32) Method




ImageGear.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class > Solarize Method : Solarize(ImGearRasterPage,Int32) Method
Image to process.
Lightness threshold above which colors of pixels are inverted.
This method inverts the colors of pixels whose lightness exceeds the specified threshold.
Syntax
'Declaration
 
Public Overloads Shared Sub Solarize( _
   ByVal page As ImGearRasterPage, _
   ByVal threshold As Integer _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim threshold As Integer
 
ImGearEffects.Solarize(page, threshold)
public static void Solarize( 
   ImGearRasterPage page,
   int threshold
)
public: static void Solarize( 
   ImGearRasterPage* page,
   int threshold
) 
public:
static void Solarize( 
   ImGearRasterPage^ page,
   int threshold
) 

Parameters

page
Image to process.
threshold
Lightness threshold above which colors of pixels are inverted.
Remarks
This method is not valid for use on 1-bit images.

The threshold is a value from 0 to the maximum value for a channel in the image. For example, if the image is 24bpp RGB, the threshold ranges from 0 to 255.

See Also

Reference

ImGearEffects Class
ImGearEffects Members
Overload List
ImGearRasterPage Class
CanApplySolarize Method

Is this page helpful?
Yes No
Thanks for your feedback.