Imagick::resetImagePage

(No version information available, might only be in Git)

Imagick::resetImagePageReset image page

说明

bool Imagick::resetImagePage ( string $page )

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

User Contributed Notes

Roman T. 17-Oct-2012 02:45
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.