Home > PHP > Function > > Imagick::clipPathImage()

Imagick::clipPathImage()

Imagick::clipPathImage - Clips along the named paths from the 8BIM profile

Syntax

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

Arguments

  • pathname - The name of the path
  • inside - If TRUE later operations take effect inside clipping path. Otherwise later operations take effect outside clipping path.

Description

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.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.