![]() |
VOOZH | about |
The border() function is an inbuilt function in the GraphicsMagick library which is used to surround the image with a border of color. The function returns the true value on success.
Syntax:
border( width, height )
Parameters: This function accepts two parameters as mentioned above and described below:
Return Value: This function returns the GraphicsMagick object.
Example 1:
Output:
Example 2:
Output:
Reference: