php8.5
Home/ Manual/ imagick / imagick/ Imagick::setImagePage

Imagick::setImagePage

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Sets the page geometry of the image

Description

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

Success

Errors/Exceptions

Throws

Source: reference/imagick/imagick/setimagepage.xml · from the official PHP manual (php/doc-en)