Imagick::setImagePage

(PECL imagick 2, PECL imagick 3)

Imagick::setImagePageSets the page geometry of the image

Description

publicImagick::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.

To Top