Pgmagick wave() method – Python
The wave() function is an inbuilt function in the Pgmagick library which is used to alter an image along with a sine wave. The function returns the true value on success.
Parameters: This function accept two parameters as mentioned above and described below:
- amplitude: This parameter stores the value of the amplitude of the sine wave.
- wavelength: This parameter stores the value of the wavelength of the sine wave.
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