Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-24-2022, 11:12 AM   #1
ableeker
Enthusiast
ableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of light
 
Posts: 47
Karma: 12050
Join Date: Dec 2010
Device: Kobo Aura H2O
Cover created by Calibre 6 when Epub doesn't have one not correct

I have an ebook (Epub) that imported all right in Calibre 5. I tried to import it in Calibre 6, and it imported OK, apart from the cover. Calibre 6 generated image file cover.jpg, and placed that in the folder with the Epub. However, the image didn't show the content of the image, but a file name.

I've checked this Epub with Sigil, and it does have a cover, one of the images in the Epub actually serves as cover, but it isn't marked as such in the Epub. That's probably why Calibre generates a new one. Calibre 5 seems to pick the correct image, and shows it correctly, but Calibre 6 just shows the name of the image. In fact, the file name is correct, so if it would display the content of the image, instead of the name of the image, Calibre would show the right cover.
Attached Thumbnails
Click image for larger version

Name:	cover.jpg
Views:	85
Size:	4.1 KB
ID:	195281  
ableeker is offline   Reply With Quote
Old 07-24-2022, 12:53 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: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
If the cover is not properly marked (semantics for both the file and the image used), it is a guess. OTOH PDF uses just uses the first page.

If you use the ebook editor (T),

right click the image:use as cover
Do the same for the HTML file that uses that image:

Now, when you go to the Metadata Editor screen. Select the EPUB format and click the blue-blank cover button to the left, and that will bring that currently marked cover into the Library.
theducks is online now   Reply With Quote
Advert
Old 07-24-2022, 02:42 PM   #3
ableeker
Enthusiast
ableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of light
 
Posts: 47
Karma: 12050
Join Date: Dec 2010
Device: Kobo Aura H2O
That does work, but that's always been true, and Calibre 5 showed the cover correctly. And actually, the file that's been picked as cover is correct, but Calibre 6 doesn't show it correctly.
ableeker is offline   Reply With Quote
Old 07-24-2022, 03:10 PM   #4
ableeker
Enthusiast
ableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of lightableeker is a glorious beacon of light
 
Posts: 47
Karma: 12050
Join Date: Dec 2010
Device: Kobo Aura H2O
I've been looking at the code at Github, and I've noticed commit ba8f4fb (6 days ago, so the 18th I guess) that's described like so:

Fix a regression in 6.0 that broke rendering of first page of EPUB as cover when the EPUB has no actual cover

That sounds uncannily like the bug that I've noticed with 6.0, and 6.1, so it may have been fixed already, and could well be available in 6.2.

Actually, I've installed the source, and when I run that, it seems to work all right again.
ableeker is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Epub files created on Sigil close after cover on Kobo romanf Sigil 26 07-17-2022 03:46 PM
Unable to open .epub I've created in Calibre 4rm Kobo Reader 16 02-05-2021 12:25 PM
An image doesn't show in Calibre created Epub happyjon Conversion 2 08-22-2014 08:24 PM
Cover image bug with ePub for correct aspect JSWolf Conversion 16 01-28-2011 04:31 PM
PRS-600 PRS-600 doesn't display correct fonts in ePub files. MSJim Sony Reader 29 08-07-2010 06:06 PM


All times are GMT -4. The time now is 11:31 PM.


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