Forgot one rename

This commit is contained in:
Alex Xu 2021-03-25 16:39:09 -07:00
parent 38832b8196
commit 464826ab14

View File

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