![]() |
VOOZH | about |
The chop() function is an inbuilt function in the GraphicsMagick library which is used to remove pixels from the interior of an image. The function returns the true value of success.
Syntax:
chop( width, height, x, y )
Parameters: This function accepts four parameters as mentioned above and described below:
Return Value: This function returns the GraphicsMagick object.
Example 1:
Output:
Example 2:
Output:
Reference: