Image.gamma

gamma gamma-corrects a particular image channel. The same image viewed on different devices will have perceptual differences in the way the image's intensities are represented on the screen. Specify individual gamma levels for the red, green, and blue channels, or adjust all three with the gamma function. Values typically range from 0.8 to 2.3.

You can also reduce the influence of a particular channel with a gamma value of 0.

  1. void gamma(double value, ChannelType channel = ChannelType.DefaultChannels)
    class Image
  2. void gamma(double red, double green, double blue)
  3. double gamma()

Meta