Creates new BrightnessContrast class instance. Here you can specify what channels to process with this transform and brigthness/contrast modifiers.
Namespace:
Aurigma.GraphicsMill.Transforms
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub New ( _ channels As Boolean(), _ brightnessAmount As Single, _ contrastAmount As Single _ )
Type: System.Boolean []
Array of flags specifying what channels to apply effect at. If array item is true, transform will be applied at channel with appropriate index. Otherwise this channel is skipped. You can change to this array later through the property Channels.Type: System.Single
Brightness modifier value varying in range [-1, 1]. You can change this value later through property BrightnessAmount.Type: System.Single
Contrast modifier value varying in range [-1, 1]. Minimum value (-1) will produce absolutely gray image, neutral value (0) does no effect, maximum value (1) makes the image extremely posterized. You can change this value later through property ContrastAmount.