Imagick::getImagePage

(PECL imagick 2.0.0)

Imagick::getImagePageReturns the page geometry

Description

Imagick::getImagePage ( void ) : array

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

Return Values

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

Errors/Exceptions

Throws ImagickException on error.