thorvg: Hundreads of possible broken SVG files

This files were found programmatically, so not all this images are invalid.

To check if png created from svg is valid I:

  • Created png file from svg with inkscape (inkscape --export-type=png -h 500)
  • Created png file from with svg2png (svg2png -r 500x500)
  • Compared png files with each other

This is not ideal comparison, because for some files inkscape generate invalid png files.

Even if files looks in file browser preview similar, then I suggest to look at them closer, because probably they differ in shadows or other less visible things.

SVG.zip Screenshot from 2022-08-26 16-25-58

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 15 (10 by maintainers)

Commits related to this issue

Most upvoted comments

With disabled entity, flowroot, nested svg and important directive I see different results in 7 files

KOSZ_21064.svg
KOSZ_23970.svg
KOSZ_23971.svg
KOSZ_5527.svg
KOSZ_5632.svg
KOSZ_7171.svg
KOSZ_9398.svg

I prepared new pack of 62 files with disabled items with specific features - BrokenSVG2.zip

Screenshot from 2023-05-09 21-39-12

New pack of 84 svg files in which differences are clearly visible - BrokenSVG.zip (master branch with applied patch from #1375)

Screenshot from 2023-04-17 14-16-03

In this list are only files without:

  • text <text>
  • images <image>
  • filters <filter>