array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'imagick.getquantumdepth.php', 1 => 'Imagick::getQuantumDepth', 2 => 'Gets the quantum depth', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.getquantum.php', 1 => 'Imagick::getQuantum', ), 'next' => array ( 0 => 'imagick.getquantumrange.php', 1 => 'Imagick::getQuantumRange', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/getquantumdepth.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::getQuantumDepth

(PECL imagick 2, PECL imagick 3)

Imagick::getQuantumDepthGets the quantum depth

说明

public static Imagick::getQuantumDepth(): array

Returns the Imagick quantum depth.

参数

此函数没有参数。

返回值

Returns an array with "quantumDepthLong" and "quantumDepthString" members.

错误/异常

错误时抛出 ImagickException。