Php/docs/imagick.getimagepage

来自菜鸟教程
跳转至:导航、​搜索

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".


返回值

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


错误/异常

错误时抛出 ImagickException。