Image.Balance (gb.image.effect)

Sub Balance ( Brightness As Float, Contrast As Float, Gamma As Float [ , Channel As Integer ] )

Modify the balance of image brightness, contrast and gamma.

  • Brightness is the brightness balance, between -1 and 1.

  • Contrast is the contrast balance, between -1 and 1.

  • Gamma is the gamma balance, between -1 and 1.

  • Channel is a combination of channel flags indicating which color channels should be modified. By default all color channels are modified.

Channel can any combination of Image.Red, Image.Green and Image.Blue, or Image.All for all channels.