Imagick::setResolution
Imagick::setSamplingFactors
Imagick
PHP Manual

# Imagick::setResourceLimit

(PECL imagick 2.0.0)

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

### Description

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

Sets the limit for a particular resource in megabytes.

### Parameters

`type`

`limit`

### Return Values

Returns `TRUE` on success.

Imagick::setResolution
Imagick::setSamplingFactors
Imagick
PHP Manual