From a72722a5cdfa1837a38e9f00c580be5fc779690d Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Mon, 29 Apr 2013 23:09:27 +0200 Subject: [PATCH] Don't enlarge images if smaller than the dimensions --- sigal/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigal/image.py b/sigal/image.py index 8f0938b..4d4896e 100644 --- a/sigal/image.py +++ b/sigal/image.py @@ -48,7 +48,7 @@ def generate_image(source, outname, size, format, options=None, pass # Run the other processors - processors = [ResizeToFill(*size)] + processors = [ResizeToFill(*size, upscale=False)] img = ProcessorPipeline(processors).process(img) if copyright_text: