Wand swirl() function in Python
swirl() generates a kind of distorted image in which a visual whirlpool effect by rotating pixels around the center of the image.implode() generates a kind of distorted image in which pull effect is noticed into the middle of the image.The amount argument controls the range of pixels to pull towards the center.
Syntax :wand.image.swirl(degree, method)
Parameter Input Type Description degree numbers.Real Defines the amount of pixels to be effected. Value between -360.0 and 360.0. method basestring Controls interpolation of the effected pixels. Only available for ImageMagick-7.
Changing degree value
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