1
0
mirror of https://github.com/ciromattia/kcc synced 2026-06-09 08:00:33 +00:00

clarify coverfill is not implemented for kindle scribe (#1255)

This commit is contained in:
Alex Xu
2026-02-22 11:49:27 -08:00
committed by GitHub
parent 723fa4c0b8
commit adf48d24f9
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -569,7 +569,8 @@ class Cover:
if self.options.kindle_scribe_azw3:
size[0] = min(size[0], 1920)
size[1] = min(size[1], 1920)
if self.options.coverfill:
if self.options.coverfill and not self.options.kindle_scribe_azw3:
# TODO: Kindle Scribe case
self.image = ImageOps.fit(self.image, tuple(size), Image.Resampling.LANCZOS, centering=(0.5, 0.5))
else:
self.image.thumbnail(tuple(size), Image.Resampling.LANCZOS)