PHP - Manual: Gmagick::borderimage
2024-11-14
(PECL gmagick >= Unknown)
Gmagick::borderimage — Surrounds the image with a border
Surrounds the image with a border of the color defined by the bordercolor GmagickPixel object or a color string.
color
GmagickPixel object or a string containing the border color.
width
Border width.
height
Border height.
The Gmagick object with border defined.
错误时抛出 GmagickException。