The Imagick class
PHP 手册

Imagick::getResource

(PECL imagick 2.0.0)

Imagick::getResourceReturns the specified resource's memory usage

说明

int Imagick::getResource ( int $type )
Warning

本函数暂无文档,仅有参数列表。

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, throwing ImagickException on error.


The Imagick class
PHP 手册