question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SVG export fails when rasterization is off

See original GitHub issue

I 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: image

On Chromium 102.0.5005.61: image

Version: Jbrowse 1.7.10 (Web)

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
cmdcolincommented, Jun 24, 2022

@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 😃

0reactions
AlbatrosHurleurcommented, Jun 27, 2022

Glad it helped!

Thanks a lot for the fix.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found