Python Image Resize Pillow

PYTHON 2 weeks ago 646 views
S

sujeetkumar713

21 public snippets
646 Views
0 Comments
0 Saves

Description

Resize image using Python Pillow library tutorial.
Python Image Resize Pillow.py
from PIL import Image

img=Image.open('test.jpg')
img=img.resize((300,300))
img.save('small.jpg')

Comments (0)

Add Comment

No comments yet. Be the first to comment!