![]() |
VOOZH | about |
The gamma() function is an inbuilt function in the GraphicsMagick library which is used to level of gamma correction. The function returns the true value on success.
Syntax:
gamma(red, green, blue)
Parameters: This function accepts three parameters as red, green, and blue which correct the gamma level of red, green, and blue colors respectively.
Return Value: This function returns the GraphicsMagick object.
Example 1:
Output:
Example 2:
Output:
Reference: