Skip to content

Commit 2e292b6

Browse files
authored
Update Image.ANTIALIAS to Image.LANCZOS (Darwin)
1 parent ea0d181 commit 2e292b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/pystray/_darwin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _assert_image(self):
171171
size)
172172
source.paste(self._icon.resize(
173173
size,
174-
PIL.Image.ANTIALIAS))
174+
PIL.Image.LANCZOS))
175175

176176
# Convert the PIL image to an NSImage
177177
b = io.BytesIO()

0 commit comments

Comments
 (0)