Created
April 8, 2014 17:46
-
-
Save mygeekdaddy/10161963 to your computer and use it in GitHub Desktop.
ImageResize
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import photos | |
import Image | |
choose = photos.pick_image() | |
final = choose.resize((800,600),Image.ANTIALIAS) | |
saveit = photos.save_image(final) | |
if saveit is True: | |
print 'Resized image has been saved' | |
elif saveit is False: | |
print "Uh oh, not saved" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment