JavaScript Editor Javascript debugger     Website design 

Imagick::getResource

Returns the specified resource's memory usage ()
int Imagick::getResource ( int type )

Warning:

This function is currently not documented; only the argument list is available.

Warning:

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

Returns the specified resource's memory usage in megabytes.

Parameters

type

Return Values

Returns the specified resource's memory usage in megabytes, throwing ImagickException on error.