CascadiaPHP 2024

Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceReturns the specified resource's memory usage

Descrição

public static Imagick::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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top