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.

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

錯誤/異常

錯誤時拋出 ImagickException。