(PECL imagick 2.0.0)
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.
错误时抛出 ImagickException。