php8.5
Home/ Manual/ imagick / imagick/ Imagick::clampImage

Imagick::clampImage

PHP function Edit on GitHub ✎

(PECL imagick 3 >= 3.3.0)

Restricts the color range from 0 to the quantum depth.

Description

Imagick::clampImage(int $channel = Imagick::CHANNEL_DEFAULT): bool

Restricts the color range from 0 to the quantum depth.

Parameters

channel

Return Values

Success

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