phpday 2027 - Call for Papers

Gmagick::getimageresolution

(PECL gmagick >= Unknown)

Gmagick::getimageresolution — Gets the image X and Y resolution

Description

public function 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 1 note

up
4
Clive Walkden
13 years ago
The array returned is in the format

Array
(
    [x] => 300
    [y] => 300
)
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top