略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Gmagick::gammaimage

2024-11-15

Gmagick::gammaimage

(PECL gmagick >= Unknown)

Gmagick::gammaimageGamma-corrects an image

说明

public Gmagick::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

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/gmagick.gammaimage.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3