1
0
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:
Paweł Jastrzębski
2013-12-06 23:27:58 +01:00
parent 0cf92fc48f
commit 11007402cd

View File

@@ -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: