Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2012, 02:17 PM   #1
atordo
Connoisseur
atordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to beholdatordo is a splendid one to behold
 
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.
Attached Files
File Type: txt imgdir2epub.sh.txt (714 Bytes, 100 views)
atordo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 01:51 PM.


MobileRead.com is a privately owned, operated and funded community.