From 464826ab1453cf6769b46bddb7ff3c016fd49978 Mon Sep 17 00:00:00 2001 From: Alex Xu Date: Thu, 25 Mar 2021 16:39:09 -0700 Subject: [PATCH] Forgot one rename --- mangle/image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mangle/image.py b/mangle/image.py index 3257d6e..2fe18b4 100644 --- a/mangle/image.py +++ b/mangle/image.py @@ -276,7 +276,7 @@ def convertImage(source, target, device, flags): if flags & ImageFlags.Resize: image = resizeImage(image, size) if flags & ImageFlags.ScaleCrop: - image = stretchImage(image, size) + image = scaleCropImage(image, size) if flags & ImageFlags.Frame: image = frameImage(image, tuple(palette[:3]), tuple(palette[-3:]), size) if flags & ImageFlags.Quantize: