Image has already-set profile, so use the inited one

This commit is contained in:
Ciro Mattia Gonano committed 2013-03-05 11:50:33 +01:00
1 parent e92ee81617
commit 3c187889d1
2 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -254,7 +254,7 @@ def applyImgOptimization(img, isSplit=False, toRight=False):
img.cropWhiteSpace(10.0)
if options.cutpagenumbers:
img.cutPageNumber()
img.resizeImage(options.upscale, options.stretch, options.black_borders, isSplit, toRight, options.profile)
img.resizeImage(options.upscale, options.stretch, options.black_borders, isSplit, toRight)
img.quantizeImage()