Imagick::getImagePage

(PECL imagick 2, PECL imagick 3)

Imagick::getImagePageReturns the page geometry

说明

publicImagick::getImagePage(): array

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

参数

此函数没有参数。

返回值

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

错误/异常

错误时抛出 ImagickException。

To Top