aboutsummaryrefslogtreecommitdiffstats
path: root/PhotoAlbum.py
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-05-05 08:44:33 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2011-05-05 08:44:33 -0400
commit141af1e1a4c61cd33c0c63e11be34589eba9deba (patch)
treeeb43245ac18f4e9dbbe3bc1e029ea11f4501e0ab /PhotoAlbum.py
parentMake thumbnails. (diff)
downloadPhotoFloat-141af1e1a4c61cd33c0c63e11be34589eba9deba.tar.xz
PhotoFloat-141af1e1a4c61cd33c0c63e11be34589eba9deba.zip
Bigger square thumbs.
Diffstat (limited to '')
-rw-r--r--PhotoAlbum.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/PhotoAlbum.py b/PhotoAlbum.py
index a8fe71d..6c3f359 100644
--- a/PhotoAlbum.py
+++ b/PhotoAlbum.py
@@ -156,7 +156,6 @@ class Photo(object):
image = image.crop((left, top, right, bottom))
image.thumbnail((size, size), Image.ANTIALIAS)
image.save(thumb_path, "JPEG")
- print "saving %s" % thumb_path
def _thumbnails(self, image, thumb_path):
orientation = self._attributes["Orientation"]
@@ -182,7 +181,7 @@ class Photo(object):
elif orientation == 8:
# Rotation 90
mirror = image.transpose(Image.ROTATE_90)
- self._thumbnail(mirror, thumb_path, 100, True)
+ self._thumbnail(mirror, thumb_path, 150, True)
self._thumbnail(mirror, thumb_path, 640)
self._thumbnail(mirror, thumb_path, 1024)
@property