PHP 5.4.33 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.

add a note add a note

User Contributed Notes 1 note

up
1
Clive Walkden
1 year ago
The array returned is in the format

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