Imagick::setResourceLimit
(PECL imagick 2, PECL imagick 3)
Imagick::setResourceLimit — Sets the limit for a particular resource
Описание
public static Imagick::setResourceLimit
( int
$type
, int $limit
) : boolThis 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.
Возвращаемые значения
В случае успешной работы возвращает true.
Смотрите также
- Imagick::getResourceLimit() - Возвращает заданный лимит ресурсов