Imagick::getResourceLimit

Returns the specified resource limit

Description

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

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::setResourceLimit