Imagick::getResource

(PECL imagick 2.0.0)

Imagick::getResourceReturns the specified resource's memory usage

Beschreibung

Imagick::getResource ( int $type ) : int

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.