(PECL imagick 2.0.0)
Imagick::getResourceLimit — Returns the specified resource limit
$type
Returns the specified resource limit in megabytes.
type
Refer to the list of resourcetype constants.
错误时抛出 ImagickException .