PHP 8.4.0 RC3 available for testing

Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceReturns the specified resource's memory usage

说明

public static 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