diff --git a/bin/weeplot/genplot.py b/bin/weeplot/genplot.py index 0c8766986..cc6065922 100644 --- a/bin/weeplot/genplot.py +++ b/bin/weeplot/genplot.py @@ -223,7 +223,9 @@ def render(self): self._renderRose(image, draw) if self.anti_alias != 1: - image.thumbnail((self.image_width / self.anti_alias, self.image_height / self.anti_alias), Image.ANTIALIAS) + image.thumbnail((self.image_width / self.anti_alias, + self.image_height / self.anti_alias), + Image.LANCZOS) return image diff --git a/docs_src/changes.md b/docs_src/changes.md index 6e4183512..b694872d1 100644 --- a/docs_src/changes.md +++ b/docs_src/changes.md @@ -32,9 +32,10 @@ Users can opt to add it back in by following the wiki on MacOS now logs to `syslog` like any other system, rather than `rotate`. -Method `ImageDraw.textsize()` and constant `ImageFont.LAYOUT_BASIC` were -deprecated in Pillow 9.2 (1-Jul-2022), then removed in Pillow 10.0 (1-Jul-2023). -V5.0 replaces them with alternatives. +Method `ImageDraw.textsize()` and constants `ImageFont.LAYOUT_BASIC`, and +`Image.ANTIALIAS` were deprecated in Pillow 9.2 (1-Jul-2022), then removed in +Pillow 10.0 (1-Jul-2023). V5.0 replaces them with alternatives. Fixes issue +#884. Fix bug when using Pillow v9.5.0. Fixes issue #862.