php8.5
Home/ Manual/ imagick / imagick/ Imagick::getPage

Imagick::getPage

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the page geometry

Description

Imagick::getPage(): array

Returns the page geometry associated with the Imagick object in an associative array with the keys "width", "height", "x", and "y".

Parameters Parameters

Return Values

Returns the page geometry associated with the Imagick object in an associative array with the keys "width", "height", "x", and "y", throwing ImagickException on error.

Source: reference/imagick/imagick/getpage.xml · from the official PHP manual (php/doc-en)