Imagick::getPage

(PECL imagick 2, PECL imagick 3)

Imagick::getPageReturns 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".

Возвращаемые значения

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.