Imagick::getResource

(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.

doc_php
2016-02-24 16:01:07
Comments
Leave a Comment

Please login to continue.