The gamma() function is an inbuilt function in the Pgmagick 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 color respectively.
Return Value: This function returns the Pgmagick object with image added.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course.