Imagick::getImagePage

(PECL imagick 2, PECL imagick 3)

Imagick::getImagePageReturns the page geometry

說明

public Imagick::getImagePage(): array

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

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

錯誤/異常

錯誤時拋出 ImagickException。