php / 8.1.5 / imagick.setimagepage.html /

Imagick::setImagePage

(PECL imagick 2, PECL imagick 3)

Imagick::setImagePageSets the page geometry of the image

Description

public Imagick::setImagePage(
 int $width,
 int $height,
 int $x,
 int $y
): bool

Sets the page geometry of the image.

Parameters

width
height
x
y

Return Values

Returns true on success.

Errors/Exceptions

Throws ImagickException on error.

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/imagick.setimagepage.php