(PECL imagick 2, PECL imagick 3)
Imagick::getResourceLimit — Returns the specified resource limit
$type
): intReturns the specified resource limit.
type
One of the resourcetype constants. The unit depends on the type of the resource being limited.
Returns the specified resource limit in megabytes.
Throws ImagickException on error.