diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-05-05 08:44:33 -0400 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2011-05-05 08:44:33 -0400 |
commit | 141af1e1a4c61cd33c0c63e11be34589eba9deba (patch) | |
tree | eb43245ac18f4e9dbbe3bc1e029ea11f4501e0ab /PhotoAlbum.py | |
parent | Make thumbnails. (diff) | |
download | PhotoFloat-141af1e1a4c61cd33c0c63e11be34589eba9deba.tar.xz PhotoFloat-141af1e1a4c61cd33c0c63e11be34589eba9deba.zip |
Bigger square thumbs.
Diffstat (limited to '')
-rw-r--r-- | PhotoAlbum.py | 3 |
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 |