![]() |
VOOZH | about |
The recolor() function is an inbuilt function in the GraphicsMagick library which is used to apply a color translation matrix to the image channels. The function returns the true value of success.
Syntax:
recolor( matrix )
Parameters: This function accepts a single parameter as mentioned above and described below:
Return Value: This function returns the GraphicsMagick object.
Example 1:
Output:
Example 2:
Output:
Reference: