diff --git a/pilkit/processors/resize.py b/pilkit/processors/resize.py index cefb34d..413e386 100644 --- a/pilkit/processors/resize.py +++ b/pilkit/processors/resize.py @@ -22,7 +22,7 @@ def __init__(self, width, height, upscale=True): def process(self, img): if self.upscale or (self.width < img.size[0] and self.height < img.size[1]): img = resolve_palette(img) - img = img.resize((self.width, self.height), Image.ANTIALIAS) + img = img.resize((self.width, self.height), Image.LANCZOS) return img