array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'imagick.setimagepage.php', 1 => 'Imagick::setImagePage', 2 => 'Sets the page geometry of the image', ), 'up' => array ( 0 => 'class.imagick.php', 1 => 'Imagick', ), 'prev' => array ( 0 => 'imagick.setimageorientation.php', 1 => 'Imagick::setImageOrientation', ), 'next' => array ( 0 => 'imagick.setimageprofile.php', 1 => 'Imagick::setImageProfile', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/imagick/imagick/setimagepage.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

Imagick::setImagePage

(PECL imagick 2, PECL imagick 3)

Imagick::setImagePageSets the page geometry of the image

Beschreibung

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

Sets the page geometry of the image.

Parameter-Liste

width

height

x

y

Rückgabewerte

Liefert true bei Erfolg.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.