Feature request: insert_image to insert svg file
See original GitHub issueHi,
I am trying to put a svg file into the excel file but it seems svgs are not supported.
I haven’t found any workaround. Excel does support svg so it would be cool to get this feature.
File "C:\Users\800xAAdmin\AppData\Local\Programs\Python\Python37\lib\site-packages\xlsxwriter\workbook.py", line 1204, in _get_image_properties
"%s: Unknown or unsupported image file format." % filename)
xlsxwriter.exceptions.UnsupportedImageFormat: data/svg/Drive.svg: Unknown or unsupported image file format.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Uploaded SVG as a image (#24937) · Issues - GitLab.org
When user drag file into textarea for comment, GitLab will upload it and insert image or link into textarea. Currently SVG files are...
Read more >Using SVG | CSS-Tricks
SVG is an image format for vector graphics. It literally means Scalable Vector Graphics. Basically, what you work with in Adobe Illustrator.
Read more >Add SVG image format within | #dominoforever | Product Ideas ...
Add SVG image format within the httpd.conf file. SVG graphics are more and more in common use these days. For Domino web applications...
Read more >Add SVG to Word DOC & Avoid SVG Image to EMF Metafile ...
The first image in the DOCX file is the SVG added using Aspose. ... There is feature request regarding inserting SVG the same...
Read more >Adding Images, Fonts, and Files - Create React App
Note: this feature is available with react-scripts@2.0.0 and higher, and react@16.3.0 and higher. One way to add SVG files was described in the ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Actually, after refreshing my memory since the last time I looked at this, the height and width are generally available (although the units change) but I had a hard time coming up with a matching DPI based on the viewbox.
I may look at it again. Particularly if this gets some more +1s.
I’ve looked into this in a bit more detail and I don’t think I can support SVG files in XlsxWriter. There are a number of technical issues that contribute to this:
So overall this is a can’t fix/won’t fix. Sorry.