Answers for "pillow rotate image"

0

PIL rotate image

img = Image.open(r"C:UsersAdminPicturesnetwork.PNG")
  
# rotating a image 90 deg counter clockwise
rot_img = img.rotate(90, PIL.Image.NEAREST, expand = 1)
Posted by: Guest on July-11-2021
2

pil resize image

im = Image.open('image.jpg')  
im = im.resize((w, h))
Posted by: Guest on October-17-2020

Python Answers by Framework

Browse Popular Code Answers by Language