(PECL imagick 2, PECL imagick 3)
Imagick::getResource — 傳回指定資源的記憶體使用量
$type
傳回指定資源的記憶體使用量(以 MB 為單位)。
type
請參閱資源型別常數的列表。
發生錯誤時會拋出 ImagickException。