GoLang Imagick::setResourceLimit

request it (316)
GoLang replacement for PHP's Imagick::setResourceLimit [edit | history]



Do you know a GoLang replacement for PHP's Imagick::setResourceLimit? Write it!

PHP Imagick::setResourceLimit

PHP original manual for Imagick::setResourceLimit [ show | php.net ]

Imagick::setResourceLimit

(PECL imagick 2.0.0)

Imagick::setResourceLimitSets the limit for a particular resource in megabytes

Description

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

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

Parameters

type

Refer to the list of resourcetype constants.

limit

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

Return Values

Returns TRUE on success.