View Single Post
Old 04-21-2009, 03:09 PM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,025
Karma: 18129756
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
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 following code confuses Calibre and it thinks it should be rasterizing SVG images and the images come out blank.

The code is from ePub. The LOTR omnibus in ePub is where the code comes from.
JSWolf is offline   Reply With Quote