Imagick::clipPathImage

(PECL imagick 2, PECL imagick 3)

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

Descrição

publicImagick::clipPathImage(string$pathname, bool$inside): bool

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.

Parâmetros

pathname

The name of the path

inside

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

Valor Retornado

Retorna true em caso de sucesso.

Erros/Exceções

Lança uma exceção ImagickException em caso de erro.

To Top