Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-18-2023, 09:56 AM   #1
jindroush
Connoisseur
jindroush doesn't litterjindroush doesn't litter
 
Posts: 94
Karma: 104
Join Date: Nov 2014
Device: Kindle
7.0-7.2: Extracting covers problem?

Hi,
I noticed this after upgrading to 7.0 (and verified in 7.2):

Certain epubs, while extracting covers by E and book button fail to extract the cover correctly, and even produce rendered red error message (above actual cover image or instead it) in the cover.jpg:

https://www.dropbox.com/scl/fi/y2g96...i9rxlm048&dl=0

This mentions unknown entity nbsp (the page code contains  , correctly formatted IMO).
I'm not claiming it's a regression in 7.x, but I never saw it before.

My questions:
a) Is this known/expected behaviour of extract cover?
b) Why is code for extracting the cover and actually displaying it different? I mean, sometimes the rendering of the cover is wildly different to the same cover displayed by ebook-viewer. Is it because the extractor and viewer don't share the codebase? Talking only about EPUBs.
jindroush is offline   Reply With Quote
Old 12-18-2023, 10:02 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
They definitely dont share the same codebase, the viewer does a hell of a lot of more work to format books before displaying them. Rendering covers is a much for basic task. As for your error you have likely got   in a XHTML file where its illegal an EPUB to EPUB conversion will fix it.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-18-2023, 10:12 AM   #3
jindroush
Connoisseur
jindroush doesn't litterjindroush doesn't litter
 
Posts: 94
Karma: 104
Join Date: Nov 2014
Device: Kindle
Doh! Really, changing   to & # 160 ; fixes that.
jindroush is offline   Reply With Quote
Old 12-18-2023, 12:48 PM   #4
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
For what it's may be worth, for ePub3/HTML5, the only predefined named entities are &amp;, &lt;, &gt;, &apos;. and &quot; ( & < > ' and "). You can defined named entities but for the most part, I just use the numeric entities if really needed.
DNSB is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pocketbook touch lux 3.problem extracting html Apollinare PocketBook 0 01-02-2019 08:15 PM
Re-Extracting Covers Sablerose Marvin 5 02-27-2014 06:41 AM
Problem with covers on Aura HD gers1978 Kobo Reader 3 05-28-2013 07:01 PM
Problem with covers twentw Conversion 7 10-20-2011 03:25 AM
Problem Downloading Covers 357mag Library Management 1 03-11-2011 03:43 AM


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


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