SVG export fails when rasterization is off
See original GitHub issueI get a TypeError: o.indexOf is not a function
message when exporting SVG if rasterization is turned off (or not supported in the browser).
To Reproduce
Click on “export SVG” button Untick “Rasterize canvas based tracks” Click “Submit”
Expected behavior
A SVG file is downloaded
Screenshots
On Firefox 101.0.1:
On Chromium 102.0.5005.61:
Version: Jbrowse 1.7.10 (Web)
Issue Analytics
- State:
- Created a year ago
- Comments:9
Top Results From Across the Web
Export SVG hangs for an eternity - Adobe Support Community
I'm trying to export SVG versions of vector files for use on the web. ... vector file being rasterized with the layer effects...
Read more >SVG images rasterized when printing/exporting #13355 - GitHub
It appears to happen in the composer rather than the export per se. The attached screenshot shows a highly zoomed area with an...
Read more >SVG export question on Raster vs Vector (why is it embedding ...
Upon export, SVG has an embedded image (probably PNG). If I disable rasterize, the SVG keeps throwing me an error when I open...
Read more >Question #657235 “Problem with file's export to PDF or PNG ...
(i m saving in 1.5 PDF, rasterization of filters on or off - doesnt matter ... PNG when i exporting to it, file's...
Read more >how to rasterize an SVG without anti-aliasing
Hmm...it doesn't look like Inkscape offers an aliased option when exporting to raster. You could try opening the SVG in a raster app...
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 Free
Top 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
@AlbatrosHurleur thanks so much for the reproducible case, added a fix here https://github.com/GMOD/jbrowse-components/pull/3057
will hopefully be released soon 😃
Glad it helped!
Thanks a lot for the fix.