Imagick::getResource
PHP Manual
PHP Manual»Imagick»Imagick::getResource

Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceReturns the specified resource's memory usage

Опис

public static function Imagick::getResource(int $type): int

Returns the specified resource's memory usage in megabytes.

Параметри

type

Refer to the list of resourcetype constants.

Значення, що повертаються

Returns the specified resource's memory usage in megabytes.

Помилки/виключення

Кидає ImagickException в разі помилки.

To Top