Imagick::getResource
(PECL imagick 2, PECL imagick 3)
Imagick::getResource — Returns the specified resource's memory usage
Description
$type
): intReturns the specified resource's memory usage in megabytes.
Return Values
Returns the specified resource's memory usage in megabytes.
Errors/Exceptions
Throws ImagickException on error.