Quote:
Originally Posted by hobnail
1) Why do some books use an html img tag for the cover page while Calibre's cover page generator, Calibre's Generate Cover plugin, and Sigil all use the svg wrapped image tag?
|
See
my 2018 post in "SVG images - why?".
Also read the rest of the discussion in that thread.
Quote:
Originally Posted by hobnail
2) In the body of a book what are the advantages or disadvantages to using an svg wrapped image tag versus an html img tag? Complexity of the svg method is probably one disadvantage with it.
|
If you're making it for Amazon... don't use the SVG-wrapped images inside the book. (SVG-wrapped cover is fine, because that's treated specially.)
If you're creating a pure EPUB, or designing the EPUB for personal use, then you may want to use the SVG wrapper.
Quote:
Originally Posted by hobnail
I've never seen this done so I'm assuming that the advantages aren't there.
|
It's done occassionally. There's even a whole Sigil plugin dedicated towards it:
InsertImageSVG
You rarely see it because people are usually designing books for max compatibility across devices (plus conversion to Kindle).
SVG Wrappers also have some other advantages such as "keeping image and caption together", like RbnJrg has written about many times over the years (especially his Post #5):
https://www.mobileread.com/forums/sh...d.php?t=314639