KindleComicConverter
KindleComicConverter is a MacOS X AppleScript droplet to convert image folders to a comic-type Mobipocket ebook to take advantage of the new Panel View mode on Amazon's Kindle.
REQUIREMENTS
- Python (included in MacOS and Linux, follow the official documentation to install on Windows)
kindlegenin /usr/local/bin/- unrar and rarfile.py for
calibre2ebook.pyautomatic CBR extracting. comic2ebook.pycan optionally use the Python Imaging Library to correctly set the image resolution on OPF file, please refer to official documentation for installing into your system.
USAGE
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.
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)
-
Prepare image folder resizing the images to 758x1024 for HD or 600x800 for non-HD readers, in .png or .jpg formats
-
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... -
Launch
python comic2ebook.py <directory> <title>The directory should be then filled with a
.opf,.ncx, and many.htmlfiles. -
Run
Kindlegenoncontent.opf. Depending on how many images you have, this may take awhile. Once completed, the.mobifile should be in the directory. -
Remove the SRCS record to reduce the
.mobifilesize in half. You can use Kindlestrip. -
Copy the
.mobifile to your Kindle!
CREDITS
This script exists as a cross-platform alternative to KindleComicParser by Dc5e
(published in this mobileread forum thread)
This droplet relies on and includes KindleStrip (C) by Paul Durrant and released in public domain
(mobileread forum thread)
The icon for the droplet is by Nikolay Verin (http://ncrow.deviantart.com/) and released under CC Attribution-NonCommercial-ShareAlike 3.0 Unported License
Also, you need to have kindlegen v2.7 (with KF8 support) which is downloadable from Amazon website
and installed in /usr/local/bin/
CHANGELOG
- 1.00 - Initial version
- 1.10 - Added support for CBZ/CBR files in comic2ebook.py
TODO
- add transparent support for CBZ/CBR archives
- bundle a script to manipulate images (to get rid of Mangle/E-nki/whatsoever)
calibre2ebook.py
- Add gracefully exit for CBR if no rarfile.py and no unrar executable are found
- Improve error reporting
COPYRIGHT
Copyright (c) 2012 Ciro Mattia Gonano. See LICENSE.txt for further details.