Gmagick::borderimage
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Surrounds the image with a border
Description
Gmagick::borderimage(GmagickPixel $color, int $width, int $height): Gmagick
Surrounds the image with a border of the color defined by the bordercolor GmagickPixel object or a color string.
Parameters
colorGmagickPixelobject or a string containing the border color.widthBorder width.
heightBorder height.
Return Values
The Gmagick object with border defined.
Errors/Exceptions
Throw