Imagick::setImagePage
(PECL imagick 2, PECL imagick 3)
Imagick::setImagePage — Sets the page geometry of the image
说明
public Imagick::setImagePage
( int
$width
, int $height
, int $x
, int $y
) : boolSets the page geometry of the image.
参数
-
width
-
-
height
-
-
x
-
-
y
-
返回值
成功时返回 true
。
错误/异常
错误时抛出 ImagickException。