1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

fix 1860 width

This commit is contained in:
Alex Xu
2024-05-28 09:55:59 -07:00
committed by GitHub
parent c35dd137ea
commit a9a2f47e30

View File

@@ -331,7 +331,7 @@ class ComicPage:
self.image = ImageOps.pad(self.image, self.size, method=method, color=self.fill)
else:
if self.kindle_scribe_azw3:
self.size[0] = 1860
self.size = (1860, 1920)
self.image = ImageOps.contain(self.image, self.size, method=method)
def resize_method(self):