Gmagick
在线手册:中文  英文

Gmagick::gammaimage

(PECL gmagick >= Unknown)

Gmagick::gammaimageGamma-corrects an image

说明

public Gmagick Gmagick::gammaimage ( float $gamma )

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


Gmagick
在线手册:中文  英文
易百教程