Is there a way to convert SVG to MVG images? The obvious way...
$ convert test.svg output.mvg
..doesn't work. It seems the SVG is converted to pixels first, then when going to MVG ImageMagick complains saying "there's no vectors."
I see in ReadSVGImage, a tempfile is outputted with the MVG commands to render the image. The code is compiled out with...
#if MAGICKCORE_XML_DELEGATE
...but I see now way to activate that code.
Any help would be appreciated.
SVG -> MVG convert
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: SVG -> MVG convert
To get MVG you must ensure that the MSVG decoder is used and not RSVG decoder.
So try this...
See SVG handling in IM Examples
http://www.imagemagick.org/Usage/draw/#svg
So try this...
Code: Select all
convert msvg:test.svg output.mvg
http://www.imagemagick.org/Usage/draw/#svg
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/