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

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 03-03-2011, 11:01 AM   #1
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
Adding cover image

I bought an EPUB w/o a cover image and want to include the title page of the corresponding PDF as cover image for the EPUB.

What is the best approach to add a cover image *inside* an EPUB file using Calibre?

Thanks
Michael
miwie is offline   Reply With Quote
Old 03-03-2011, 11:25 AM   #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,703
Karma: 54369092
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by miwie View Post
I bought an EPUB w/o a cover image and want to include the title page of the corresponding PDF as cover image for the EPUB.

What is the best approach to add a cover image *inside* an EPUB file using Calibre?

Thanks
Michael

Best Way (besides the obvious: one that works ) ?

I use Sigil to edit existing epubs. That includes adding/shufflin' images.

All you need (besides Sigil) is the Image in a JPG/JPEG, PNG (or GIF?) format.
Locate where you want it in the Book view and use the Add image ('screen') tool.

Fine tuning will require a switch to Codeview ((and some basic code skills )
theducks is offline   Reply With Quote
Advert
Old 03-03-2011, 02:17 PM   #3
pappcam
Member
pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.pappcam knows what is on the back of the AURYN.
 
Posts: 20
Karma: 9754
Join Date: Feb 2011
Location: Canada
Device: Sony PRS-350
Quote:
Originally Posted by miwie View Post
I bought an EPUB w/o a cover image and want to include the title page of the corresponding PDF as cover image for the EPUB.

What is the best approach to add a cover image *inside* an EPUB file using Calibre?

Thanks
Michael
Or you could edit the metadata through Calibre on that book, place the image where it tells you and then do an epub-to-epub conversion and the cover will be inserted into the file.

Edit: This requires the epub to be freed from DRM.

Last edited by pappcam; 03-03-2011 at 04:47 PM.
pappcam is offline   Reply With Quote
Old 03-04-2011, 03:14 AM   #4
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
Thanks pappcam!
I managed to add the wanted cover image using Sigil w/o any problems.
miwie is offline   Reply With Quote
Old 03-04-2011, 06:16 AM   #5
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
Against first look this cannot be the correct solution
Though most ebook-readers (ADE, calibre, my own Ereader) can display such modified EPUBs, some fail.

Looking at the resulting EPUB I see that Sigil rearranges all files inside the EPUB, adds the cover image but does not correctly rewrite the OPF/NCX file as required for correct cover images.

Following the instructions in Best practices in ePub cover images (http://blog.threepress.org/2009/11/2...-cover-images/), manipulating manually creates a cofrrect EPUB - it's just too complicated.

Any other ideas to do it using Calibre somehow?
miwie is offline   Reply With Quote
Advert
Old 03-04-2011, 06:24 AM   #6
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by miwie View Post
Any other ideas to do it using Calibre somehow?
As said two posts up: Just set the cover image you want in the Calibre metadata section of the book. Then, when you export the book, you should have the correct cover.
Manichean is offline   Reply With Quote
Old 03-04-2011, 07:36 AM   #7
miwie
Connoisseur
miwie began at the beginning.
 
Posts: 76
Karma: 12
Join Date: Nov 2010
Device: Android, PB Pro 602
OK, doing the following seems to do the job:
  • add cover into metadata
  • convert (again) to EPUB (exporting does not work)

Thanks
Michael
miwie is offline   Reply With Quote
Old 03-04-2011, 08:57 AM   #8
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by miwie View Post
OK, doing the following seems to do the job:
  • add cover into metadata
  • convert (again) to EPUB (exporting does not work)
Exporting works most of the time. It depends on whether the cover can easily be identified (e.g. Mentioned in the toc.ncx file inside the epub). Conversion should only be needed if Calibre has to analyse the book to try and identify the cover.
itimpi is offline   Reply With Quote
Old 03-04-2011, 09:34 AM   #9
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,703
Karma: 54369092
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by miwie View Post
Against first look this cannot be the correct solution
Though most ebook-readers (ADE, calibre, my own Ereader) can display such modified EPUBs, some fail.

Looking at the resulting EPUB I see that Sigil rearranges all files inside the EPUB, adds the cover image but does not correctly rewrite the OPF/NCX file as required for correct cover images.

Following the instructions in Best practices in ePub cover images (http://blog.threepress.org/2009/11/2...-cover-images/), manipulating manually creates a cofrrect EPUB - it's just too complicated.

Any other ideas to do it using Calibre somehow?
There is another step that needs to be done when adding.
In the book browser: Images section. Right-click the cover image file name.
Save
theducks is offline   Reply With Quote
Old 03-04-2011, 10:39 AM   #10
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by theducks View Post
There is another step that needs to be done when adding.
In the book browser: Images section. Right-click the cover image file name.
Save
When this weeks release is out you can also right-click the image in the Book Details pane and copy/paste the cover. Kovid was kind enough to add this for me as a usability enhancement.
itimpi 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
Adding a cover/front page Lynk Recipes 3 10-03-2010 06:14 PM
adding books cover comments icwright Calibre 5 12-22-2009 06:48 PM
Adding a new cover for LRF pikoman Calibre 0 11-06-2009 02:43 PM
Adding cover image to PDF? silvijakk Bookeen 2 04-02-2009 03:33 PM
Adding a cover image to mobipocket files rheostaticsfan Kindle Formats 4 05-25-2008 03:40 PM


All times are GMT -4. The time now is 05:45 AM.


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