I'm trying to take the newest image from my photo album and resize it to 120x120.
Here is my code.
import photos as p
import PIL as y
x = p.get_count()
img = p.get_image(x-1)
thmb = img.resize((120,120))
thmb.show()
rslt = p.save_image(thmb)
print rslt
The image is saved back to my photo album, but when I look in the photo album directly from the iphone, the image maintains its original size.
When I run the following script a second time, it should load the 120x120 resized image. Here's the crazy part. When I print the dimensions of that image, it's 120x120, even though it's 817x817 in my iOS photo album.
What am I missing here?
Thanks.