Imagick::getResourceLimit

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceLimitReturns the specified resource limit

Description

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

Returns the specified resource limit.

Parameters

type

One of the resourcetype constants. The unit depends on the type of the resource being limited.

Return Values

Returns the specified resource limit in megabytes.

Errors/Exceptions

Throws ImagickException on error.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.getresourcelimit.php