Skip to main content

A command-line tool to make ebook of comics.

Project description

ComicGen is the commandline tool to make ebooks formatted by mobi file format from jpeg images. This is convinience when you want make own ebook comics scaned by yourself.

Install

Install it by easy way through pip:

pip install comicgen

or use easy_install:

easy_install comicgen

If you have not use virtualenv and virtualenvwrapper yet, it is very nice tool to make a depended environment:

mkvirtualenv comicgen
pip install comicgen

See details on virtualenvwrapper document.

Usage

First of all, you have to make the dir containig image of pages:

./comic_title
    |- 0001.jpg
    |- 0002.jpg
    |- 0003.jpg
    |- 0004.jpg
    |- 0005.jpg
    |- 0006.jpg
    +- 0007.jpg

You also have to download the kindlegen package from the official site and unpacked it:

$ wget http://kindlegen.s3.amazonaws.com/KindleGen_Mac_i386_v2_9.zip
$ unzip KindleGen_Mac_i386_v2_9.zip

If you finished to make it and install the depended libraries, run its command:

$ mkdir output
$ comicgen --title 'Hello Comic' --author 'Takahiro Fujiwara' --publisher 'ComicGen' --output ./output -k ./kindlegen ./comic_title

A mobi file will appear in the output dir that you set as the option of comicgen:

$ ls ./output
Hello Comic.mobi

Advanced Usage

When you buy so many comics and scan them, comicgen-volumes command is nice.

Separate volumes by each directories:

./comic_title
    +- 0001
    |   |- 0001.jpg
    |   |- 0002.jpg
    |   +- 0003.jpg
    +- 0002
        |- 0001.jpg
        +- 0002.jpg

And run it:

$ comicgen-volumes --title-template 'Hello Comic %(volume)i' --author 'Takahiro Fujiwara' --publisher 'ComicGen' --output ./output -k ./kindlegen ./comic_title

License

ComicGen is released under the MIT License. http://www.opensource.org/licenses/mit-license

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

comicgen-0.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

comicgen-0.3-py2.7.egg (7.9 kB view details)

Uploaded Egg

File details

Details for the file comicgen-0.3.tar.gz.

File metadata

  • Download URL: comicgen-0.3.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for comicgen-0.3.tar.gz
Algorithm Hash digest
SHA256 46ccfc4842b2b6b44aff4af084a9b5c228cd904bd0841a75cae90be88a441bf5
MD5 b87e92229b582f4c3ce0600c2d62c48a
BLAKE2b-256 60a9ddf8d2def3b88e7d4baba449e5dba64a1b6fde4b45906cae9eea9bae1bd4

See more details on using hashes here.

File details

Details for the file comicgen-0.3-py2.7.egg.

File metadata

  • Download URL: comicgen-0.3-py2.7.egg
  • Upload date:
  • Size: 7.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for comicgen-0.3-py2.7.egg
Algorithm Hash digest
SHA256 8925182ebf892f14c73e20110eb524c39c8cdbaec7699bb3a8aaf575547a6e90
MD5 f5dffbd9e1cb46f3cb3cda7b80efb632
BLAKE2b-256 686e833b9f3ef96b5a236df51ab842330a56073ef824ea1a17b23ce2b63dd3a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page