Dutch PHP Conference 2025 - Call For Papers

Imagick::resetImagePage

(PECL imagick 2 >= 2.3.0, PECL imagick 3)

Imagick::resetImagePageReset image page

Опис

public Imagick::resetImagePage(string $page): bool

The page definition as a string. The string is in format WxH+x+y. Цей метод доступний, якщо Imagick зібраний з ImageMagick версії 6.3.6 або новішою.

Параметри

page

The page definition. For example 7168x5147+0+0

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

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

add a note

User Contributed Notes 1 note

up
1
Roman T.
11 years ago
This function seems to do the same thing as photoshop feture convas size, you set size of convas and position of your image's top left corner (x,y) inside that convas.
To Top