CascadiaPHP 2024

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.

add a note

User Contributed Notes 1 note

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

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