Gmagick
PHP Manual

Gmagick::normalizeimage

(PECL gmagick >= Unknown)

Gmagick::normalizeimageEnhances the contrast of a color image

说明

public void Gmagick::normalizeimage ([ int $channel ] )

Enhances the contrast of a color image by adjusting the pixels color to span the entire range of colors available.

参数

channel

Identify which channel to normalize

返回值

The Gmagick object on success

错误/异常

错误时抛出 GmagickException


Gmagick
PHP Manual