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

Imagick::getQuantum

PHP function Edit on GitHub ✎

(PECL imagick 3 >= 3.3.0)

Returns the ImageMagick quantum range

Description

Imagick::getQuantum(): int

Returns the ImageMagick quantum range. If HDRI was enabled then the type is a float, if not it is an int.

Parameters Parameters

Return Values

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