Skip to content

Commit

Permalink
Update Image.ANTIALIAS to Image.LANCZOS (Xorg)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrob authored Aug 16, 2023
1 parent 9038361 commit ea0d181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pystray/_xorg.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ def _assert_icon_data(self, width, height):
(width, height))
self._icon_data.paste(self._icon.resize(
(width, height),
PIL.Image.ANTIALIAS))
PIL.Image.LANCZOS))
self._icon_data.tostring = self._icon_data.tobytes

def _assert_docked(self):
Expand Down

0 comments on commit ea0d181

Please sign in to comment.