VOOZH about

URL: https://www.geeksforgeeks.org/python/pgmagick-swirl-method-python/

⇱ Pgmagick swirl() method - Python - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Pgmagick swirl() method - Python

Last Updated : 4 Oct, 2021

The swirl() function is an inbuilt function in the Pgmagick library which is used to around the center of the image. The degrees specify the tightness of the swirl. 

Syntax: 

swirl(angle)

Parameters: This function accepts single parameter as mentioned above and described below:  

  • angle: This parameter stores the angle of the swirl.

Return Value: This function returns the Pgmagick object with image added. 
 

Input Image:  

👁 Image

Example 1:  

Output: 

👁 Image


Example 2: 

Output: 

👁 Image


 

Comment
Article Tags: