mirror of
https://github.com/ciromattia/kcc
synced 2026-10-15 05:52:33 +00:00
Updated README
This commit is contained in:
@@ -59,36 +59,74 @@ You can find the latest released binary at the following links:
|
|||||||
Should be pretty self-explanatory.
|
Should be pretty self-explanatory.
|
||||||
After completed conversion you should find ready file alongside the original input file (same directory).
|
After completed conversion you should find ready file alongside the original input file (same directory).
|
||||||
|
|
||||||
|
### Comic2Panel
|
||||||
|
|
||||||
|
**Comic2Panel** is currently experimental piece of software and it is **NOT** part of binary release.
|
||||||
|
It is special parser for Webstrip comics like _Tower of God_ or _Noblesse_. Aka. files with a low width, high height and very specific panel layout.
|
||||||
|
Script will automatically detect borders of panels and split them so that they fit target device screen.
|
||||||
|
If detected panel will be still too big script will split it forcibly.
|
||||||
|
|
||||||
|
Directory prepared by **Comic2Panel** can be used by KCC but you have to remember about two things:
|
||||||
|
* _Horizontal mode_ option is **mandatory**
|
||||||
|
* If pictures are color set _Gamma_ to 1.00
|
||||||
|
|
||||||
### Standalone `comic2ebook.py` usage:
|
### Standalone `comic2ebook.py` usage:
|
||||||
|
|
||||||
```
|
```
|
||||||
Usage: comic2ebook.py [options] comic_file|comic_folder
|
Usage: comic2ebook.py [options] comic_file|comic_folder
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
--version show program's version number and exit
|
MAIN:
|
||||||
-h, --help show this help message and exit
|
-p PROFILE, --profile=PROFILE
|
||||||
-p PROFILE, --profile=PROFILE
|
|
||||||
Device profile (Choose one among K1, K2, K3, K4NT, K4T, KDX, KDXG, KHD, KF, KFHD, KFHD8, KFA) [Default=KHD]
|
Device profile (Choose one among K1, K2, K3, K4NT, K4T, KDX, KDXG, KHD, KF, KFHD, KFHD8, KFA) [Default=KHD]
|
||||||
-t TITLE, --title=TITLE
|
-q QUALITY, --quality=QUALITY
|
||||||
Comic title [Default=filename]
|
Quality of Panel View. 0 - Normal 1 - High 2 - Ultra [Default=0]
|
||||||
-m, --manga-style Manga style (Right-to-left reading and splitting) [Default=False]
|
-m, --manga-style Manga style (Right-to-left reading and splitting)
|
||||||
--quality=QUALITY Output quality. 0 - Normal 1 - High 2 - Ultra [Default=0]
|
|
||||||
-c, --cbz-output Outputs a CBZ archive and does not generate EPUB
|
OUTPUT SETTINGS:
|
||||||
--noprocessing Do not apply image preprocessing (Page splitting and optimizations) [Default=True]
|
-o OUTPUT, --output=OUTPUT
|
||||||
--forcepng Create PNG files instead JPEG (For non-Kindle devices) [Default=False]
|
Output generated file to specified directory or file
|
||||||
--gamma=GAMMA Apply gamma correction to linearize the image [Default=Auto]
|
-t TITLE, --title=TITLE
|
||||||
--upscale Resize images smaller than device's resolution [Default=False]
|
Comic title [Default=filename or directory name]
|
||||||
--stretch Stretch images to device's resolution [Default=False]
|
--cbz-output Outputs a CBZ archive and does not generate EPUB
|
||||||
--blackborders Use black borders instead of white ones when not stretching and ratio is not like the device's one [Default=False]
|
--batchsplit Split output into multiple files
|
||||||
--rotate Rotate landscape pages instead of splitting them [Default=False]
|
|
||||||
--nosplitrotate Disable splitting and rotation [Default=False]
|
PROCESSING:
|
||||||
--nocutpagenumbers Do not try to cut page numbering on images [Default=True]
|
--blackborders Use black borders instead of white ones
|
||||||
-o OUTPUT, --output=OUTPUT
|
--forcecolor Don't convert images to grayscale
|
||||||
Output generated file (EPUB or CBZ) to specified directory or file
|
--forcepng Create PNG files instead JPEG (For non-Kindle devices)
|
||||||
--forcecolor Do not convert images to grayscale [Default=False]
|
--gamma=GAMMA Apply gamma correction to linearize the image [Default=Auto]
|
||||||
--customwidth=WIDTH Replace screen width provided by device profile [Default=0]
|
--nocutpagenumbers Don't try to cut page numbering on images
|
||||||
--customheight=HEIGHT Replace screen height provided by device profile [Default=0]
|
--noprocessing Don't apply image preprocessing
|
||||||
-v, --verbose Verbose output [Default=False]
|
--nosplitrotate Disable splitting and rotation
|
||||||
|
--rotate Rotate landscape pages instead of splitting them
|
||||||
|
--stretch Stretch images to device's resolution
|
||||||
|
--upscale Resize images smaller than device's resolution
|
||||||
|
|
||||||
|
CUSTOM PROFILE:
|
||||||
|
--customwidth=CUSTOMWIDTH
|
||||||
|
Replace screen width provided by device profile
|
||||||
|
--customheight=CUSTOMHEIGHT
|
||||||
|
Replace screen height provided by device profile
|
||||||
|
|
||||||
|
OTHER:
|
||||||
|
-v, --verbose Verbose output
|
||||||
|
-h, --help Show this help message and exit
|
||||||
|
```
|
||||||
|
|
||||||
|
### Standalone `comic2panel.py` usage:
|
||||||
|
|
||||||
|
```
|
||||||
|
Usage: comic2panel.py [options] comic_folder
|
||||||
|
|
||||||
|
Options:
|
||||||
|
MANDATORY:
|
||||||
|
-y HEIGHT, --height=HEIGHT
|
||||||
|
Height of the target device screen
|
||||||
|
|
||||||
|
OTHER:
|
||||||
|
-d, --debug Create debug file for every splitted image
|
||||||
|
-h, --help Show this help message and exit
|
||||||
```
|
```
|
||||||
|
|
||||||
## CREDITS
|
## CREDITS
|
||||||
|
|||||||
Reference in New Issue
Block a user