Imagick::getResource

(PECL imagick 2.0.0)

Imagick::getResourceReturns the specified resource's memory usage

說明

int Imagick::getResource ( int $type )

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。

add a note add a note

User Contributed Notes

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