(PECL imagick 2, PECL imagick 3)
Imagick::clipPathImage — Clips along the named paths from the 8BIM profile
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.
成功时返回 true
。
错误时抛出 ImagickException。