Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceReturns the specified resource's memory usage

Descrição

publicstaticImagick::getResource(int$type): int

Returns the specified resource's memory usage in megabytes.

Parâmetros

type

Refer to the list of resourcetype constants.

Valor Retornado

Returns the specified resource's memory usage in megabytes.

Erros/Exceções

Lança uma exceção ImagickException em caso de erro.

To Top