1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 09:46:25 +00:00

Update readme

This commit is contained in:
Ciro Mattia Gonano
2012-11-30 15:04:10 +01:00
parent 58b452515e
commit 95891d9ebe

View File

@@ -10,14 +10,30 @@
## USAGE ## USAGE
Drop a folder over the droplet, after a while you'll get a comic-type .mobi to sideload on your Kindle. Drop a folder over the droplet, after a while you'll get a comic-type .mobi to sideload on your Kindle.
The script takes care of calling `comic2ebook.py`, `kindlegen` and `kindlestrip.py`. The script takes care of calling `comic2ebook.py`, `kindlegen` and `kindlestrip.py`.
For the standalone `comic2ebook.py` script:
python comic2ebook.py <directory> <title>
**WARNING:** at the moment the script does not perform image manipulation. Image optimization and resizing (HD Kindles want 758x1024, non-HD ones 600x800) is up to you. **WARNING:** at the moment the script does not perform image manipulation. Image optimization and resizing (HD Kindles want 758x1024, non-HD ones 600x800) is up to you.
## USAGE (standalone `comic2ebook.py`)
1. Prepare image folder resizing the images to 758x1024 for HD or 600x800 for non-HD readers, in .png or .jpg formats
2. Organize the images into the folders (Use leading 0's to avoid file ordering problems). For example,
> Legs Weaver/
> Legs Weaver/51/
> Legs Weaver/51/001.png
> Legs Weaver/51/002.png
> Legs Weaver/52/
> Legs Weaver/52/001.png
> Legs Weaver/52/002.png
> etc...
3. Launch
```python comic2ebook.py <directory> <title>```
The directory should be then filled with a `.opf`, `.ncx`, and many `.html` files.
4. Run `Kindlegen` on `content.opf`. Depending on how many images you have, this may take awhile. Once completed, the `.mobi` file should be in the directory.
5. Remove the SRCS record to reduce the `.mobi` filesize in half. You can use [Kindlestrip](http://www.mobileread.com/forums/showthread.php?t=96903).
6. Copy the `.mobi` file to your Kindle!
## CREDITS ## CREDITS
This script exists as a cross-platform alternative to `KindleComicParser` by **Dc5e** This script exists as a cross-platform alternative to `KindleComicParser` by **Dc5e**