Imagick::setResourceLimit

(PECL imagick 2.0.0)

Imagick::setResourceLimitSets the limit for a particular resource

说明

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

参见