php / 8.1.5 / gmagick.normalizeimage.html /

Gmagick::normalizeimage

(PECL gmagick >= Unknown)

Gmagick::normalizeimageEnhances the contrast of a color image

Description

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.

Parameters

channel

Identify which channel to normalize.

Return Values

The Gmagick object.

Errors/Exceptions

Throws an GmagickException on error.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagick.normalizeimage.php