Sets the limit for a particular resource

# Imagick::setResourceLimit

(PECL imagick 2.0.0)

Imagick::setResourceLimit — Sets the limit for a particular resource

### Descrierea

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

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

### Parametri

`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.

### Valorile întoarse

Întoarce `TRUE` în caz de succes.

### A se vedea și

- Imagick::getResourceLimit() - Returns the specified resource limit