Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Imagick::getResourceImagick::getSamplingFactors>
^ImagickLast updated: Mon, 26 Oct 2026

Imagick::getResourceLimit

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceLimit — Returns the specified resource limit

Description

public static function Imagick::getResourceLimit(int $type): int

Returns the specified resource limit.

Parameters

type

One of the resourcetype constants.

Return Values

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

Errors/Exceptions

Throws ImagickException on error.

See Also


<Imagick::getResourceImagick::getSamplingFactors>
^ImagickLast updated: Mon, 26 Oct 2026