(PECL imagick 2, PECL imagick 3)
Imagick::getResource — Returns the specified resource's memory usage
$type
): intReturns the specified resource's memory usage in megabytes.
Returns the specified resource's memory usage in megabytes.
錯(cuò)誤時(shí)拋出 ImagickException。