(PECL imagick 2.0.0)
Returns the specified resource's memory usage
int Imagick::getResource ( int $type )
Returns the specified resource's memory usage in megabytes.
Parameters:
type
Refer to the list of resourcetype constants.
Returns:
Returns the specified resource's memory usage in megabytes.
Exception:
Throws ImagickException on error.
Please login to continue.