mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 01:36:27 +00:00
remove transparency from image info
This commit is contained in:
@@ -265,6 +265,7 @@ class ComicPage:
|
||||
if self.fill != 'white':
|
||||
flags.append('BlackBackground')
|
||||
if self.opt.forcepng:
|
||||
self.image.info["transparency"] = None
|
||||
self.targetPath += '.png'
|
||||
self.image.save(self.targetPath, 'PNG', optimize=1)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user