Imagick
PHP Manual

Imagick::newPseudoImage

(PECL imagick 2.0.0)

Imagick::newPseudoImageCreates a new image

说明

bool Imagick::newPseudoImage ( int $columns , int $rows , string $pseudoString )

Creates a new image using ImageMagick pseudo-formats.

参数

columns

columns in the new image

rows

rows in the new image

pseudoString

string containing pseudo image definition.

返回值

成功时返回 TRUE .

错误/异常

错误时抛出 ImagickException .


Imagick
PHP Manual