ImageMan.Net Version 3 Summer 2012 Release
BrightnessCommand Constructor(Int32)
See Also  Send Feedback
DTI.ImageMan.Commands Namespace > BrightnessCommand Class > BrightnessCommand Constructor : BrightnessCommand Constructor(Int32)





brightness

Glossary Item Box

Creates a new instance of a BrightnessCommand object with the specified brighness.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal brightness As System.Integer _
)
Visual Basic (Usage)Copy Code
Dim brightness As System.Integer
 
Dim instance As New BrightnessCommand(brightness)
C# 
public BrightnessCommand( 
   System.int brightness
)
JScript 
public function BrightnessCommand( 
   brightness : System.int
);
Managed Extensions for C++ 
public: BrightnessCommand( 
   System.int brightness
)
C++/CLI 
public:
BrightnessCommand( 
   System.int brightness
)

Parameters

brightness

Remarks

The acceptable range is from -255 making the image entirely black, to +255 making the image entirely white. 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.

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.