ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class > Solarize Method : Solarize(ImGearRasterPage,Int32,ImGearContrastModes,ImGearChannelRange,ImGearContrastOptions) Method |
'Declaration Public Overloads Shared Sub Solarize( _ ByVal page As ImGearRasterPage, _ ByVal threshold As Integer, _ ByVal mode As ImGearContrastModes, _ ByVal channels As ImGearChannelRange, _ ByVal options As ImGearContrastOptions _ )
'Usage Dim page As ImGearRasterPage Dim threshold As Integer Dim mode As ImGearContrastModes Dim channels As ImGearChannelRange Dim options As ImGearContrastOptions ImGearEffects.Solarize(page, threshold, mode, channels, options)
public static void Solarize( ImGearRasterPage page, int threshold, ImGearContrastModes mode, ImGearChannelRange channels, ImGearContrastOptions options )
public: static void Solarize( ImGearRasterPage* page, int threshold, ImGearContrastModes mode, ImGearChannelRange channels, ImGearContrastOptions* options )
public: static void Solarize( ImGearRasterPage^ page, int threshold, ImGearContrastModes mode, ImGearChannelRange channels, ImGearContrastOptions^ options )
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.