We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a12a623 commit a229927Copy full SHA for a229927
resizeimage.py
@@ -0,0 +1,5 @@
1
+from PIL import Image
2
+img = Image.open("/home/dasta/Downloads/f2017441_a153_437a_9f0f_0e4dbd49ae56.jpg")
3
+img = img.resize((int(3456/2), int(5184/2)), Image.ANTIALIAS)
4
+img.save('resized.jpg')
5
+img.show()
0 commit comments