Imagick::getQuantumRange

(PECL imagick 2, PECL imagick 3)

Imagick::getQuantumRangeReturns the Imagick quantum range

说明

public static Imagick::getQuantumRange ( ) : array

Returns the quantum range for the Imagick instance.

返回值

Returns an associative array containing the quantum range as an int ("quantumRangeLong") and as a string ("quantumRangeString").

错误/异常

错误时抛出 ImagickException。