The Imagick class
PHP Manual

Imagick::clipPathImage

(PECL imagick 2.0.0)

Imagick::clipPathImageClips along the named paths from the 8BIM profile

说明

bool Imagick::clipPathImage ( string $pathname , bool $inside )
Warning

本函数还未编写文档,仅有参数列表。

Clips along the named paths from the 8BIM profile, if present. Later operations take effect inside the path. It may be a number if preceded with #, to work on a numbered path, e.g., "#1" to use the first path.

参数

pathname

The name of the path

inside

If TRUE later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.

返回值

Returns TRUE on success.

错误/异常

Throws ImagickException on error.


The Imagick class
PHP Manual