Gmagick::normalizeimage

(PECL gmagick >= Unknown)

Gmagick::normalizeimageEnhances the contrast of a color image

说明

public Gmagick::normalizeimage(int $channel = ?): Gmagick

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.

错误/异常

错误时抛出 GmagickException