diff --git a/PIL/Image.py b/PIL/Image.py index 368186f81..4fd2dcfc7 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -997,7 +997,7 @@ class Image(object): "only RGB or L mode images can be quantized to a palette" ) im = self.im.convert("P", 1, palette.im) - return self._makeself(im) + return self._new(im) return self._new(self.im.quantize(colors, method, kmeans))