Imagick::getResource

Returns the specified resource's memory usage

Beschreibung

int Imagick::getResource ( int $type )

Returns the specified resource's memory usage in megabytes.

Parameter-Liste

type

Refer to the list of resourcetype constants.

Rückgabewerte

Returns the specified resource's memory usage in megabytes.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.