PHP 8.3.4 Released!

Imagick::resetImagePage

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

Imagick::resetImagePage画像のページをリセットする

説明

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

ページの定義は文字列で、書式は WxH+x+y となります。 このメソッドは、ImageMagick バージョン 6.3.6 以降で Imagick をコンパイルした場合に使用可能です。

パラメータ

page

ページ定義。たとえば 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