Gmagick::normalizeimage()
(PECL gmagick >= Unknown)
Enhances 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 on success
错误/异常
错误时抛出GmagickException。