Forgot one rename
This commit is contained in:
parent
38832b8196
commit
464826ab14
@ -276,7 +276,7 @@ def convertImage(source, target, device, flags):
|
|||||||
if flags & ImageFlags.Resize:
|
if flags & ImageFlags.Resize:
|
||||||
image = resizeImage(image, size)
|
image = resizeImage(image, size)
|
||||||
if flags & ImageFlags.ScaleCrop:
|
if flags & ImageFlags.ScaleCrop:
|
||||||
image = stretchImage(image, size)
|
image = scaleCropImage(image, size)
|
||||||
if flags & ImageFlags.Frame:
|
if flags & ImageFlags.Frame:
|
||||||
image = frameImage(image, tuple(palette[:3]), tuple(palette[-3:]), size)
|
image = frameImage(image, tuple(palette[:3]), tuple(palette[-3:]), size)
|
||||||
if flags & ImageFlags.Quantize:
|
if flags & ImageFlags.Quantize:
|
||||||
|
Loading…
Reference in New Issue
Block a user