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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-05-2018, 11:33 AM   #1
Uumas
Junior Member
Uumas began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2018
Device: Android
Question How to make an epub out of image files?

I have an illustrated book in svg format (one file per page). What would be the easiest way to convert them to an epub? I've been trying to with Calibre and Sigil, but I've only been able to find a way to add them one by one which won't really be feasible considering it's over 100 pages long.
Uumas is offline   Reply With Quote
Old 11-05-2018, 08:48 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
If each is a SVG wrapped in (x)HTML, Calibre has a way: create a Index.html

https://manual.calibre-ebook.com/faq...specific-order
theducks is offline   Reply With Quote
Advert
Old 11-05-2018, 08:48 PM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,069
Karma: 18727053
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
In Sigil you can use the "Add Existing Files" command (the big plus). You can multi-select the files you want to add and it will add them all in a batch. I would make sure they are named appropriately before you add them so they stay in the correct order. Even if they are added out of order you can drag and drop within the Book Browser on the left to put them back in order.

Cheers,
Turtle91 is offline   Reply With Quote
Old 11-06-2018, 12:35 AM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Turtle91 View Post
In Sigil you can use the "Add Existing Files" command (the big plus). You can multi-select the files you want to add and it will add them all in a batch.


Can't this be done in Calibre's Editor too?

File > Import Files into Book

or am I just going crazy?
Tex2002ans is offline   Reply With Quote
Old 11-06-2018, 12:47 AM   #5
Uumas
Junior Member
Uumas began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2018
Device: Android
Quote:
Originally Posted by theducks View Post
If each is a SVG wrapped in (x)HTML, Calibre has a way: create a Index.html

https://manual.calibre-ebook.com/faq...specific-order
Sadly, they are just plain svgs, nothing else
Quote:
Originally Posted by Turtle91 View Post
In Sigil you can use the "Add Existing Files" command (the big plus). You can multi-select the files you want to add and it will add them all in a batch. I would make sure they are named appropriately before you add them so they stay in the correct order. Even if they are added out of order you can drag and drop within the Book Browser on the left to put them back in order.

Cheers,
Quote:
Originally Posted by Tex2002ans View Post


Can't this be done in Calibre's Editor too?

File > Import Files into Book

or am I just going crazy?
I'll try these today, but I'm pretty sure that just adds the files to the book, but not the xhtmls required to show them as pages.
Uumas is offline   Reply With Quote
Advert
Old 11-06-2018, 01:26 AM   #6
Katja_hbg
Groupie
Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.Katja_hbg can grok the meaning of the universe.
 
Posts: 167
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
Can't you do bulk convert into epubs and use the merge-epub plugin afterwards?
Katja_hbg is offline   Reply With Quote
Old 11-06-2018, 02:59 AM   #7
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by Uumas View Post
I'll try these today, but I'm pretty sure that just adds the files to the book, but not the xhtmls required to show them as pages.
Ahhh, so you wanted an individual XHTML file for each SVG.

1. In Sigil, you could add all the SVGs to the EPUB:

File > Add > Existing Files

2. Then inside the XHTML file, you should be able to:

Insert > File

You can easily highlight all the SVGs (Shift-Click) just like you would in Explorer.

3. Once you add them to your EPUB, you would get code smushed together like this:

Quote:
<p><img alt="page001" src="../Images/page001.svg"/><img alt="page002" src="../Images/page002.svg"/><img alt="page003" src="../Images/page003.svg"/></p>
You could then easily split the files manually using Split at Cursor button:

Click image for larger version

Name:	SigilSplitAtCursor.png
Views:	184
Size:	10.5 KB
ID:	167474

or just use Search/Replace to insert the Sigil split marker:

Search: "/><img
Replace: "/><hr class="sigil_split_marker" /><img

and press Edit > Split At Markers (F6).

4. Now you would have each SVG in its own file:

Quote:
File 1:

<p><img alt="page001" src="../Images/page001.svg"/></p>

File 2:

<p><img alt="page002" src="../Images/page002.svg"/></p>

File 3:

<p><img alt="page003" src="../Images/page003.svg"/></p>

Last edited by Tex2002ans; 11-06-2018 at 03:13 AM.
Tex2002ans is offline   Reply With Quote
Reply

Tags
svg

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Smashwords error report:Please make your cover image the very first page of your EPUB slicknick001 ePub 2 01-12-2014 05:03 PM
Are there efficient ways to make the table of contents on EPub of scanned files automa Sigil 22 09-28-2013 10:41 AM
PRS-505 Any way to make epub files look more like LRF? rahulm Sony Reader 27 06-06-2011 06:50 PM
How do I make it to epub from gif files. kprsx Conversion 8 01-22-2011 08:49 PM
How to make image visible? ppharm PDF 2 01-11-2011 06:40 AM


All times are GMT -4. The time now is 02:14 AM.


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