(PECL imagick 2, PECL imagick 3)
Imagick::getResource — Returns the specified resource's memory usage
Returns the specified resource's memory usage in megabytes.
type
Refer to the list of resourcetype constants.
Returns the specified resource's memory usage in megabytes.
Кидає ImagickException в разі помилки.