PHP 8.4.0 RC4 available for testing

Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceReturns the specified resource's memory usage

Description

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

Returns the specified resource's memory usage in megabytes.

Parameters

type

Refer to the list of resourcetype constants.

Return Values

Returns the specified resource's memory usage in megabytes.

Errors/Exceptions

Throws ImagickException on error.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top