PHP 8.4.6 Released!

Gmagick::getimageresolution

(PECL gmagick >= Unknown)

Gmagick::getimageresolutionGets the image X and Y resolution

Description

public Gmagick::getimageresolution(): array

Returns the resolution as an array.

Parameters

This function has no parameters.

Return Values

Returns the resolution as an array.

Errors/Exceptions

Throws an GmagickException on error.

User Contributed Notes

Clive Walkden
11 years ago
The array returned is in the format

Array
(
[x] => 300
[y] => 300
)
To Top