Imagick::getResource

(PECL imagick 2.0.0)

Imagick::getResourceReturns the specified resource's memory usage

˵��

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��