Imagick
PHP Manual

Imagick::getResource

(PECL imagick 2.0.0)

Imagick::getResourceReturns the specified resource's memory usage

Descrizione

int Imagick::getResource ( int $type )

Returns the specified resource's memory usage in megabytes.

Elenco dei parametri

type

Refer to the list of resourcetype constants.

Valori restituiti

Returns the specified resource's memory usage in megabytes.

Errori/Eccezioni

Lancia una ImagickException in caso di errore.


Imagick
PHP Manual