View Single Post
Old 02-25-2020, 11:18 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by hobnail View Post
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 View Post
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 View Post
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

Last edited by Tex2002ans; 02-25-2020 at 11:31 PM.
Tex2002ans is offline   Reply With Quote