Skip to content

Commit

Permalink
Replace deprecated Image op - fixes #59
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Hull committed Oct 18, 2022
1 parent 8dee747 commit dae670a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luma/emulator/device.py
Expand Up @@ -350,7 +350,7 @@ def _generate_art(self, image, width, height):
"""
Return an iterator that produces the ascii art.
"""
image = image.resize((width, height), Image.ANTIALIAS).convert("RGB")
image = image.resize((width, height), Image.LANCZOS).convert("RGB")
pixels = list(image.getdata())

for y in range(0, height - 1, 2):
Expand Down

0 comments on commit dae670a

Please sign in to comment.