Hi all,

I wonder whether the file is formed in such a way that inkscape has a hard time with it?

Google Chrome's file dialog can preview the file instantly and then renders it within 3 seconds, wheres Inkscape hangs for minutes when trying to preview it or to open it.

What inkscape does successfully is, in a few minutes, to save it as PDF from the command line using the -A switch. Saving to PDF shrinks the file from the original 8 MB down to  ~800 KB.

As a PDF Inkscape has no problem previewing it instantly, and opening it within 20 seconds or so. It's the only way I managed to open the file with inkscape.

Given that we generate this file ourselves from our own software (github.com/acardona/CATMAID/), I would appreciate if someone could look at the SVG example file and let us know what would be best for Inkscape regarding formatting, choice of svg vs g elements, and styling.

Example files (original SVG and also the PDF as saved with inkscape -A):

https://www.dropbox.com/sh/d10pxph6b1kd77c/AABXs0TJhxDtlBPr6GZ_3bSQa?dl=0

Thank you.

Albert


--