![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Reports and SVG images
Are SVG images supposed to display in the Images part of Report?
I use an online SVG maker to format equations and such stuff as SVG 1. The .svg file is just a bunch of numbers 2, The Report does not show a preview (which would be helpful) |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, sadly rendering SVG images reliably is not an easy task. The preview panel does it using a full browser.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Ahh, OK after I saw all the numbers in svg file, I figured it was not trivial thing
Thanks |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Actually it turned out to be not too hard. The previews will not be as accurate as proper rendering in the preview panel, but should still be useful.
https://github.com/kovidgoyal/calibr...732e2ce9063743 |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SVG images | AlanHK | Kindle Formats | 0 | 08-24-2018 07:58 AM |
SVG images - why? | odamizu | ePub | 24 | 03-02-2018 06:15 AM |
Scaling images with SVG wrapper | Pablo | ePub | 4 | 07-07-2015 01:44 PM |
SVG images not going into the e-book | bkleine | Conversion | 1 | 11-23-2014 09:01 PM |
can I use SVG images in mobi? | sarah_pnix | Kindle Formats | 4 | 01-07-2013 04:21 PM |