diff --git a/tkintermapview/map_widget.py b/tkintermapview/map_widget.py index e98616f..602ac11 100644 --- a/tkintermapview/map_widget.py +++ b/tkintermapview/map_widget.py @@ -502,7 +502,7 @@ def request_image(self, zoom: int, x: int, y: int, db_cursor=None) -> ImageTk.Ph image_overlay = image_overlay.convert("RGBA") if image_overlay.size is not (self.tile_size, self.tile_size): - image_overlay = image_overlay.resize((self.tile_size, self.tile_size), Image.ANTIALIAS) + image_overlay = image_overlay.resize((self.tile_size, self.tile_size), Image.LANCZOS) image.paste(image_overlay, (0, 0), image_overlay)