04-28-2012, 02:17 PM | #1 |
Connoisseur
Posts: 89
Karma: 19669
Join Date: Apr 2012
Device: Kindle Touch
|
Image directory to epub
Don't know if this will be of use to somebody, but I've been toying with some comics I had to convert them to epub and come with a script to automate the task. It requires a sh compatible shell and Imagemagick tools (specifically convert).
Given a source directory with the original images in it, it will create a destination directory with images converted and an index.html. Open it in Sigil, edit metadata, select one of the images as cover and you're done. You might want to adjust $geometry and convert options to those which better suit your reading device. Of course a careful handcrafting will always produce better results (you might want to rotate the images, split them and whatnot), but at least the script provides a quick starting point. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Image sizing in ePub | JSWolf | ePub | 5 | 01-17-2012 06:04 PM |
epub cover image | Lancelot | ePub | 1 | 11-27-2011 10:12 AM |
image issues with Epub | ematte | Introduce Yourself | 6 | 10-01-2010 01:52 PM |
Epub Image Problem | mets | Calibre | 5 | 09-21-2010 01:26 PM |
Image Maps in ePub | NewBabyProd | ePub | 10 | 06-08-2010 11:28 AM |