Imagick::setResourceLimit
PHP function
Edit on GitHub ✎
(PECL imagick 2, PECL imagick 3)
Sets the limit for a particular resource
Description
Imagick::setResourceLimit(int $type, int $limit): bool
This method is used to modify the resource limits of the underlying ImageMagick library.
Parameters
typeRefer to the list of resourcetype constants.
limitOne of the resourcetype constants. The unit depends on the type of the resource being limited.
Return Values
Success
See Also
Imagick::getResourceLimit