(PECL imagick 2, PECL imagick 3)
Imagick::setResourceLimit — Sets the limit for a particular resource
public static Imagick::setResourceLimit ( int $type , int $limit ) : bool
This method is used to modify the resource limits of the underlying ImageMagick library.
type
Refer to the list of resourcetype constants.
limit
One of the resourcetype constants. The unit depends on the type of the resource being limited.
Returns true
on success.
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setresourcelimit.php