Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Imagick::setImageOrientationImagick::setImageProfile>
^ImagickLast updated: Mon, 26 Oct 2026

Imagick::setImagePage

(PECL imagick 2, PECL imagick 3)

Imagick::setImagePage — Sets the page geometry of the image

Description

public function 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.


<Imagick::setImageOrientationImagick::setImageProfile>
^ImagickLast updated: Mon, 26 Oct 2026