From 141af1e1a4c61cd33c0c63e11be34589eba9deba Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 5 May 2011 08:44:33 -0400 Subject: [PATCH] Bigger square thumbs. --- PhotoAlbum.py | 3 +-- 1 file changed, 1 insertion(+), 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