Replaced margin color detection algorithm

This commit is contained in:
Paweł Jastrzębski
2014-08-01 07:23:55 +02:00
parent 0afb9e8c0b
commit 50574632e6
2 changed files with 33 additions and 39 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ def buildEPUB(path, chapterNames, tomeNumber):
def imgOptimization(img, opt, hqImage=None):
if not img.fill:
img.getImageFill(opt.webtoon)
img.getImageFill()
if not opt.webtoon:
img.cropWhiteSpace()
if opt.cutpagenumbers and not opt.webtoon: