ImageMan.Net Version 3 Summer 2012 Release
Process Method
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > BrightnessCommand Class : Process Method





image
Image To Process

Glossary Item Box

Modify the brightness of the image

Syntax

Visual Basic (Declaration) 
Public Overridable Function Process( _
   ByVal image As ImImage _
) As ImImage
Visual Basic (Usage)Copy Code
Dim instance As BrightnessCommand
Dim image As ImImage
Dim value As ImImage
 
value = instance.Process(image)
C# 
public virtual ImImage Process( 
   ImImage image
)
JScript 
public function Process( 
   image : ImImage
) : ImImage;
Managed Extensions for C++ 
public: virtual ImImage* Process( 
   ImImage* image
) 
C++/CLI 
public:
virtual ImImage^ Process( 
   ImImage^ image
) 

Parameters

image
Image To Process

Return Value

Modifies Image passed in

Remarks

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.

Because this function works directly on the original imagecancel will have no effect.

Requirements

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

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.