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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user