Imagick::setResourceLimit

(PECL imagick 2, PECL imagick 3)

Imagick::setResourceLimitSets 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.

Значення, що повертаються

Повертає true в разі успіху.

Прогляньте також