![]() |
#1 |
Enthusiast
![]() Posts: 27
Karma: 10
Join Date: Aug 2019
Device: Lenovo TB-X704F
|
Sigil 1.0.0 and cover-image
Greetings.
I've noticed that with most - if not all - ebooks the cover is specified simply as an <img src="..."/>. So far, so good. But if I do Tools > Add Cover, the new one gets specified as <svg ><image ... /></svg>. Why? The cover-image is just that: a JPEG-file. Why the "sudden" switch to vector graphics? What am I missing here? |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,062
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
The SVG wrapper is used because SVG supports the ability to scale an image to fit a screen having any aspect ratio as fully as possible without distortion. The HTML img element lacks this capability.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
See this thread from 2018:
SVG Images - Why? In my Post #11, I show examples of what can happen without the SVG wrapper. (Images can get heavily distorted/cropped.) |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,534
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You keep mentioning Sigil 1.0.0 in regards to things that have been a part of Sigil for many years. It's fine; it's just that I keep seeing the headlines and thinking there's some new issue that 1.0.0 has introduced (and panicking just a bit to be honest
![]() Is 1.0.0 the first version of Sigil you've used, or are you coming from an ancient version that didn't have many of these features? |
![]() |
![]() |
![]() |
#5 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Thank you! I've never understood the point of SVG, and you have distilled it in two short sentences.
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cover image in Sigil 5.3? | andreas3 | Sigil | 5 | 06-26-2014 08:43 AM |
Sigil adding blank page after cover image | ebookn00b | Sigil | 32 | 06-20-2013 01:44 PM |
Cover image issues with Sigil 0.6 and Calibre | boatat72 | Sigil | 3 | 01-17-2013 12:30 AM |
Cover image isn't displaying as cover image | Eugene88 | Sigil | 3 | 08-15-2012 04:05 PM |
Sigil Cover image Question | ralphiedee | Sigil | 9 | 05-30-2012 10:54 AM |