Revert mistaken previous change to trim parameter

Comic Input: Fix a regression to comic input in 1.15 that could cause
some comics to be rendered as black or white pages. Fixes #1264133 [Comicbook to epub conversion fails : white and black pages everywhere.](https://bugs.launchpad.net/calibre/+bug/1264133)
This commit is contained in:
Kovid Goyal 2013-12-26 08:39:06 +05:30
parent 1b733892d1
commit f570c84a68

View File

@ -115,7 +115,8 @@ class PageProcessor(list): # {{{
wand.rotate(pw, -90)
if not self.opts.disable_trim:
wand.trim(10)
wand.trim(25*65535/100)
wand.set_page(0, 0, 0, 0) # Clear page after trim, like a "+repage"
# Do the Photoshop "Auto Levels" equivalent
if not self.opts.dont_normalize: