php8.5
Home/ Manual/ gmagick / gmagick/ Gmagick::normalizeimage

Gmagick::normalizeimage

PHP function Edit on GitHub ✎

(PECL gmagick >= Unknown)

Enhances the contrast of a color image

Description

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

Throw

Source: reference/gmagick/gmagick/normalizeimage.xml · from the official PHP manual (php/doc-en)