Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Tue, 17 Oct 2023 20:16:39 UTC Commit: 90c2141be880c9b142fae4c40607574fb2a238c4 https://github.com/geany/geany-themes/commit/90c2141be880c9b142fae4c40607574...
Log Message: ----------- mkindex.py: Update deprecated Pillow constant ANTIALIAS
Modified Paths: -------------- scripts/mkindex.py
Modified: scripts/mkindex.py 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -41,7 +41,7 @@ def generate_thumbnail(conf_fn, screenshot_dir='screenshots'): else: img = Image.open(png_file) img = img.crop((2,2,img.size[1]-2,img.size[1]-2)) - img.thumbnail(THUMBNAIL_SIZE, Image.ANTIALIAS) + img.thumbnail(THUMBNAIL_SIZE, Image.Resampling.LANCZOS) #-- set to True to save thumbs into screenshots/.thumbs do_thumbs = False if do_thumbs:
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).