You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in /ASCII-generator/utils.py at char_width, char_height = font.getsize("A") PIL says getsize is deprecated and will be replcaed in PIL 10, error message:
DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use getbbox or getlength instead.
char_width, char_height = font.getsize(sample_character)
how to replicate the error:
python3 img2img.py --language chinese
i don't understand PIL a lot and i couldn't find what getsize does so hopefully someone else can fix this.
The text was updated successfully, but these errors were encountered:
in /ASCII-generator/utils.py at
char_width, char_height = font.getsize("A")
PIL says getsize is deprecated and will be replcaed in PIL 10, error message:how to replicate the error:
i don't understand PIL a lot and i couldn't find what getsize does so hopefully someone else can fix this.
The text was updated successfully, but these errors were encountered: