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

Imagick::borderImage()

Imagick::borderImage - Surrounds the image with a border

Syntax

bool Imagick::borderImage (mixed $bordercolor, int $width, int $height)

Arguments

  • bordercolor - ImagickPixel object or a string containing the border color
  • width - Border width
  • height - Border height

Description

Surrounds the image with a border of the color defined by the bordercolor ImagickPixel object.

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.