fix poster

This commit is contained in:
j 2011-10-28 00:19:58 +02:00
parent 343d5fcd66
commit 3a031bbda1
1 changed files with 2 additions and 2 deletions

View File

@ -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