The Imagick class
PHP Manual

Imagick::getResource

(PECL imagick 2.0.0)

Imagick::getResourceReturns the specified resource's memory usage

Opis

int Imagick::getResource ( int $type )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Returns the specified resource's memory usage in megabytes.

Parametry

type

Refer to the list of resourcetype constants.

Zwracane wartości

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


The Imagick class
PHP Manual