diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index cf21ece..c438b17 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -319,7 +319,7 @@ def main(argv=None): parser.add_option("-t", "--title", action="store", dest="title", default="defaulttitle", help="Comic title [default=filename]") parser.add_option("-m", "--manga-style", action="store_true", dest="righttoleft", default=False, - help="Split pages 'manga style' (right-to-left reading) [default=False]") + help="'Manga style' (right-to-left reading and splitting) [default=False]") parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False, help="Verbose output [default=False]") parser.add_option("--no-image-processing", action="store_false", dest="imgproc", default=True, diff --git a/kcc/gui.py b/kcc/gui.py index 1df2214..0dee286 100644 --- a/kcc/gui.py +++ b/kcc/gui.py @@ -89,6 +89,7 @@ class MainWindow: self.options = { 'epub_only': IntVar(None, 0), 'image_preprocess': IntVar(None, 1), + 'rotate': IntVar(None, 0), 'cut_page_numbers': IntVar(None, 1), 'mangastyle': IntVar(None, 0), 'image_upscale': IntVar(None, 0), @@ -98,8 +99,9 @@ class MainWindow: self.optionlabels = { 'epub_only': "Generate ePub only (does not call 'kindlegen')", 'image_preprocess': "Apply image optimizations", + 'rotate': "Rotate landscape images instead of splitting them.", 'cut_page_numbers': "Cut page numbers", - 'mangastyle': "Split manga-style (right-to-left reading)", + 'mangastyle': "Manga-style (right-to-left reading, applies to reading and splitting)", 'image_upscale': "Allow image upscaling", 'image_stretch': "Stretch images", 'black_borders': "Use black borders" @@ -130,6 +132,8 @@ class MainWindow: argv = ["-p", profilekey] if self.options['image_preprocess'].get() == 0: argv.append("--no-image-processing") + if self.options['rotate'].get() == 1: + argv.append("--rotate") if self.options['cut_page_numbers'].get() == 0: argv.append("--no-cut-page-numbers") if self.options['mangastyle'].get() == 1: