From 1bde9bad04df83bcc3e186e1988a4a0de5120af7 Mon Sep 17 00:00:00 2001 From: Ciro Mattia Gonano Date: Sun, 3 Mar 2013 14:39:00 +0100 Subject: [PATCH] Update README --- README.md | 11 +++++++++-- kcc/comic2ebook.py | 2 +- kcc/gui.py | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 37e0a10..22db603 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ comic2ebook.py [options] comic_file|comic_folder KDXG or KHD) [default=KHD] -t TITLE, --title=TITLE Comic title [default=filename] - -m, --manga-style Split pages 'manga style' (right-to-left reading) + -m, --manga-style 'Manga style' (right-to-left reading and splitting) [default=False] -v, --verbose Verbose output [default=False] --no-image-processing @@ -71,6 +71,10 @@ comic2ebook.py [options] comic_file|comic_folder --no-cut-page-numbers Do not try to cut page numbering on images [default=True] + --rotate Disable page spliting. Instead rotate images + [default=False] + -o OUTPUT, --output=OUTPUT + Output directory or file for generated ePub ``` The script takes care of creating an *.epub* from your archive/folder, then: @@ -115,8 +119,11 @@ and installed in a directory reachable by your PATH (e.g. `/usr/local/bin/` or ` Fixed "add folders" from GUI. - 2.5: Added --black-borders option to set added borders black when page's ratio is not the device's one (#11). Fixes epub containing zipped itself (#10). - + - 2.6: Added --rotate option to rotate landscape images instead of splitting them + Added --output option to customize ePub output dir/file + Add rendition:layout and rendition:orientation ePub meta tags (supported by new kindlegen 2.8) ## COPYRIGHT Copyright (c) 2012-2013 Ciro Mattia Gonano. See LICENSE.txt for further details. +Contributions by Paweł Jastrzębski. diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py index 7598026..f7ed35e 100755 --- a/kcc/comic2ebook.py +++ b/kcc/comic2ebook.py @@ -340,7 +340,7 @@ def main(argv=None): parser.add_option("--no-cut-page-numbers", action="store_false", dest="cutpagenumbers", default=True, help="Do not try to cut page numbering on images [default=True]") parser.add_option("--rotate", action="store_true", dest="rotate", default=False, - help="Disable page spliting. Instead rotate images [default=False]") + help="Rotate landscape pages instead of splitting them [default=False]") parser.add_option("-o", "--output", action="store", dest="output", default=None, help="Output directory or file for generated ePub") options, args = parser.parse_args(argv) diff --git a/kcc/gui.py b/kcc/gui.py index 0dee286..9f98590 100644 --- a/kcc/gui.py +++ b/kcc/gui.py @@ -99,7 +99,7 @@ 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.", + 'rotate': "Rotate landscape images instead of splitting them", 'cut_page_numbers': "Cut page numbers", 'mangastyle': "Manga-style (right-to-left reading, applies to reading and splitting)", 'image_upscale': "Allow image upscaling",