Imagick
在线手册:中文 英文
PHP手册

Imagick::getPage

(PECL imagick 2.0.0)

Imagick::getPageReturns the page geometry

说明

array Imagick::getPage ( void )

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.


Imagick
在线手册:中文 英文
PHP手册