Dutch PHP Conference 2025 - Call For Papers

Gmagick::getimageresolution

(PECL gmagick >= Unknown)

Gmagick::getimageresolutionGets the image X and Y resolution

Опис

public Gmagick::getimageresolution(): array

Returns the resolution as an array.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Returns the resolution as an array.

Помилки/виключення

Викидає GmagickException у разі помилки.

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