PHP - Manual: Imagick::getResource
2024-11-13
(PECL imagick 2, PECL imagick 3)
Imagick::getResource — Returns the specified resource's memory usage
$type
): intReturns the specified resource's memory usage in megabytes.
Returns the specified resource's memory usage in megabytes.
错误时抛出 ImagickException。