From 3a031bbda10447d986a5e3a78da29ceab7a3046c Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 28 Oct 2011 00:19:58 +0200 Subject: [PATCH] fix poster --- pandora/archive/extract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/archive/extract.py b/pandora/archive/extract.py index ad5a256a..8133946e 100644 --- a/pandora/archive/extract.py +++ b/pandora/archive/extract.py @@ -265,8 +265,8 @@ def resize_image(image_source, image_output, width=None, size=None): height = int(width / (float(source_width) / source_height)) height = height - height % 2 - width = min(width, 1) - height = min(height, 1) + width = max(width, 1) + height = max(height, 1) if width < source_width: resize_method = Image.ANTIALIAS