Change the resize filter

This commit is contained in:
jeremy 2024-04-19 13:02:34 -04:00
parent fad120242a
commit 6859004d9d
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ class TaskGenerateCoverThumbnails(CalibreTask):
filename = self.cache.get_cache_file_path(thumbnail.filename, constants.CACHE_TYPE_THUMBNAILS)
if img.height > height:
width = get_resize_width(thumbnail.resolution, img.width, img.height)
img.resize(width=width, height=height, filter='lanczos')
img.resize(width=width, height=height)#, filter='lanczos')
img.format = thumbnail.format
img.save(filename=filename)
else: