Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image rotation in Pillow

Tags:

python

pillow

I have an image and I want to transpose it bu 30 degrees. is it possible to do using something like

 spinPicture003 = Picture003.transpose(Image.Rotate_30)
like image 569
Shruti Srivastava Avatar asked Jun 17 '15 09:06

Shruti Srivastava


Video Answer


1 Answers

To rotate 30 degrees counter clockwise around its center use:

spinPicture003 = Picture003.rotate(30)
like image 112
Delimitry Avatar answered Oct 14 '22 08:10

Delimitry