(PECL imagick 2, PECL imagick 3)
Imagick::getPage — Returns the page geometry
public Imagick::getPage(): array
Returns the page geometry associated with the Imagick object in an associative array with the keys "width", "height", "x", and "y".
This function has no parameters.
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.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.getpage.php