Page 1 of 1

converting svg with css to png

Posted: 2009-10-27T17:55:47-07:00
by micheldanjou
Hi everybody,

I am trying to convert an SVG containing a reference to an external CSS file to a PNG but I am having some difficulties.

I am using the SVG and CSS from a mozilla example:
https://developer.mozilla.org/en/CSS/Ge ... G_graphics
The SVG and CSS display properly in Firefox, so I know for sure that these files are good.

The issue is that the PNG generated by IM only shows a quarter of a black circle, which bares no resemblance at all with what Firefox displays.
Are SVG referencing an external CSS supported by IM?

Please note that converting SVGs containing NO CSS works like a charm.

All the best,
Michel

Re: converting svg with css to png

Posted: 2009-10-27T18:22:03-07:00
by magick
ImageMagick does not support SVG with embedded style sheets.

Re: converting svg with css to png

Posted: 2013-10-14T10:04:28-07:00
by gedq
Is this still the case? Are there plans to add this?

Re: converting svg with css to png

Posted: 2014-07-02T08:20:46-07:00
by heygeo
Hello,
Anything new about css stylesheet support ?

Re: converting svg with css to png

Posted: 2014-07-02T08:28:14-07:00
by snibgo
IM doesn't support CSS sylesheets. Nor does Inkscape.