|Visual Basic (Declaration)|
|Visual Basic (Usage)||Copy Code|
Dim instance As BrightnessCommand Dim image As ImImage Dim value As ImImage value = instance.Process(image)
- Image To Process
Return ValueModifies Image passed in
Modify the brightness of the image based on the brightness value. This command is cumulative, so two calls to increase brightness of 127 will make the image entirely white. It is also not symmetrical as image data is lost due to clamping. So a call to brightness of -125 followed by another call with a brightness value of 125 will be duller then the original image.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2