Menu

#421 SVG to PNG fails with Non-conforming drawing primitive definition (path).

v1.0_(example)
closed-fixed
None
5
2018-04-30
2017-04-25
pin oleus
No

gm convert test.svg test.png

SVG to PNG fails with
Non-conforming drawing primitive definition (path).

Works in all other tools/utilities. Isolated test case attached.

1 Attachments

Discussion

  • sbmkpm

    sbmkpm - 2017-05-19

    Any chance of this getting fixed? Seems to be a issue of SVG parsing in GM. The same SVG converts fine in inkscape, batik, displays fine in all browsers.

    Traced the issue to a clip-mask in the SVG (if it is removed, GM works fine).

     

    Last edit: sbmkpm 2017-05-19
  • Bob Friesenhahn

    Bob Friesenhahn - 2018-04-18
    • assigned_to: Gregory J Wolfe
     
  • Gregory J Wolfe

    Gregory J Wolfe - 2018-04-30
    • status: open --> closed-fixed
     
  • Gregory J Wolfe

    Gregory J Wolfe - 2018-04-30

    Your SVG file now appears to render OK using GraphicsMagick. There is no "non-conforming drawing primitive" message, and the output image appears to be correct.

    This problem was fixed by change sets fb9a1fc8ede4, dated 3/29/18, and c0cec5f64397, dated 2/23/18. Prior to these change sets the SVG <use> element and "id=identifier" attributes were not implemented.

    Thanks for the SVG file that demonstrates the problem.

     

Log in to post a comment.

MongoDB Logo MongoDB