• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • Gmagick::gammaimage()

    (PECL gmagick >= Unknown)

    Gamma-corrects an image

    说明

    publicGmagick::gammaimage(float $gamma): Gmagick

    Gamma-corrects an image. 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 parameter. Values typically range from 0.8 to 2.3.

    参数

    $gamma

    The amount of gamma-correction.

    返回值

    The gamma corrected Gmagick object.

    错误/异常

    错误时抛出GmagickException