Don't enlarge images if smaller than the dimensions
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user