Imagick::getResourceLimit
(PECL imagick 2.0.0)
Imagick::getResourceLimit — Returns the specified resource limit
说明
Imagick::getResourceLimit (
int
$type
) :
int
Returns 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.
错误/异常
错误时抛出 ImagickException。
参见
- Imagick::setResourceLimit() - Sets the limit for a particular resource