PHP 7.0.6 Released

Gmagick::getimageresolution

(PECL gmagick >= Unknown)

Gmagick::getimageresolutionGets the image X and Y resolution

Description

public array Gmagick::getimageresolution ( void )

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
2 years ago
The array returned is in the format

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