mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
Fixed PNG output (sigh!)
This commit is contained in:
@@ -241,7 +241,7 @@ class ComicPage:
|
||||
|
||||
def calculateBorder(self, sourceImage):
|
||||
if self.fill == 'white':
|
||||
border = ImageOps.invert(sourceImage.image).getbbox()
|
||||
border = ImageChops.invert(sourceImage.image).getbbox()
|
||||
else:
|
||||
border = sourceImage.image.getbbox()
|
||||
if border is not None:
|
||||
|
||||
Reference in New Issue
Block a user