Sets the limit for a particular resource in megabytes


(PECL imagick 2.0.0)

Imagick::setResourceLimitSets the limit for a particular resource in megabytes

Описание

bool Imagick::setResourceLimit ( int $type , int $limit )

This method is used to modify the resource limits of the underlying ImageMagick library.

Список параметров

type

Refer to the list of resourcetype constants.

limit

The resource limit. The unit depends on the type of the resource being limited.

Возвращаемые значения

В случае успешной работы возвращает TRUE.