mirror of
https://github.com/weewx/weewx.git
synced 2026-04-21 10:07:05 -04:00
@@ -223,7 +223,9 @@ class GeneralPlot(object):
|
||||
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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user