ImageGear for .NET
Solarize(ImGearRasterPage,Int32,ImGearContrastModes,ImGearChannelRange,ImGearContrastOptions) Method
See Also  Send Feedback
ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class > Solarize Method : Solarize(ImGearRasterPage,Int32,ImGearContrastModes,ImGearChannelRange,ImGearContrastOptions) Method




page
Image to process.
threshold
Lightness threshold above which colors of pixels are inverted.
mode
One of the contrast processing modes: ImGearContrastModes.PALETTE, ImGearContrastModes.PIXEL, ImGearContrastModes.AUTO.
channels
Channel range to solarize.
options
Additional contrast options.

Glossary Item Box

This method inverts the colors of pixels whose lightness exceeds the specified threshold.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Image to process.
threshold
Lightness threshold above which colors of pixels are inverted.
mode
One of the contrast processing modes: ImGearContrastModes.PALETTE, ImGearContrastModes.PIXEL, ImGearContrastModes.AUTO.
channels
Channel range to solarize.
options
Additional contrast options.

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

©2013. Accusoft Corporation. All Rights Reserved.