ImageGear .NET
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

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback