# Imagick::getQuantumRange

(PECL imagick 2, PECL imagick 3)

Imagick::getQuantumRange — Returns 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。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open