mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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:
parent
1b733892d1
commit
f570c84a68
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user