TomSchimansky / TkinterMapView

A python Tkinter widget to display tile based maps like OpenStreetMap or Google Satellite Images.
Creative Commons Zero v1.0 Universal
615 stars 86 forks source link

bug: Fixed Image.ANTIALIAS no longer existing in Python PIL #138

Open JoshuaBarrass opened 6 months ago

JoshuaBarrass commented 6 months ago

In map_widget.py, on Line 505, The Image.ANTIALIAS parameter used in resize no longer exists within the PIL library causing the map to just draw blank when using a map overlay.

https://stackoverflow.com/questions/23113163/antialias-vs-bicubic-in-pilpython-image-library

Needs to be replaced by Image.LANCZOS as this is the direct replacement of Image.ANTIALIAS