Imagick::setImagePage

(PECL imagick 2, PECL imagick 3)

Imagick::setImagePageSets the page geometry of the image

Опис

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

Sets the page geometry of the image.

Параметри

width

height

x

y

Значення, що повертаються

Повертає true в разі успіху.

Помилки/виключення

Кидає ImagickException в разі помилки.