Php/docs/imagick.getquantumrange

来自菜鸟教程
跳转至:导航、​搜索

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。