Closed JuanDaniel2510 closed 9 months ago
+1
Apologies, I forgot about this. Will try to get to it soon.
The reason I did not immediately accept this is because at the time of creating this, I was unhappy with the default PIL configuration as it made the maps blurry. So I wanted to verify that this is not a regression.
It seems that PIL has finally deprecated 'Image.ANTIALIAS.' When attempting to render a new map, I encountered the following error:
AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'.
This commit resolves the error by utilizing the correct resize option mentioned here: https://github.com/python-pillow/Pillow/issues/6200