Pgmagick contrast() method – Python
The contrast() function is an inbuilt function in the Pgmagick library which is used to enhance or reduce the contrast of the image. The function returns the true value on success.
Parameters: This function accepts a single parameter multiplier which is the factor by which the contrast of image should increase or decrease.
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. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course