04-21-2009, 03:09 PM | #1 |
Resident Curmudgeon
Posts: 75,983
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
gets SVG when should be JPG
Code:
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="100%" version="1.1" viewBox="0 0 584 754" width="100%"> <rect fill="#000007" height="100%" width="584" x="0" y="0"/> <image height="754" transform="translate(0 0)" width="584" xlink:href="images/9780007322596.jpg"/> </svg> The code is from ePub. The LOTR omnibus in ePub is where the code comes from. |
04-21-2009, 03:18 PM | #2 |
creator of calibre
Posts: 44,380
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
this is due to a limitation in the SVG handling of the library that calibre uses to render HTML. UNfortunately, there isn't anything I can do to fix it.
|
Advert | |
|
04-21-2009, 03:35 PM | #3 |
Resident Curmudgeon
Posts: 75,983
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
What I did do was replace the SVG code with standard html code for the images in the two files that have this problem and it worked fine. But having to do so is not good.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Examples of ePubs with SVG? | wallcraft | ePub | 10 | 12-09-2011 01:21 PM |
SVG Compatible Readers? | nboshart | ePub | 2 | 09-22-2010 12:12 AM |
Kindle and SVG? | Tom Wood | News | 1 | 09-03-2010 08:06 PM |
Problems with SVG | ninni | ePub | 11 | 06-18-2010 11:58 AM |
Help with Merge Records - an SVG icon | Starson17 | Calibre | 3 | 03-26-2010 01:20 PM |