php / 8.1.5 / imagick.clampimage.html /

Imagick::clampImage

(PECL imagick 3 >= 3.3.0)

Imagick::clampImageDescription

Description

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

Restricts the color range from 0 to the quantum depth.

Parameters

channel

Return Values

Returns true on success or false on failure.

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