1
0
mirror of https://github.com/ciromattia/kcc synced 2026-01-07 13:59:34 +00:00

Update README

This commit is contained in:
Ciro Mattia Gonano
2013-03-03 14:39:00 +01:00
parent aaef0aaf16
commit 1bde9bad04
3 changed files with 11 additions and 4 deletions

View File

@@ -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.

View File

@@ -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)

View File

@@ -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",