RSVG setup in windows

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
deepeshsp
Posts: 6
Joined: 2013-07-25T23:55:41-07:00
Authentication code: 6789

RSVG setup in windows

Post by deepeshsp »

Hi,

I need to convert svg to jpg files. I downloaded imagemagick from http://www.imagemagick.org/script/binar ... hp#windows {Portable Win32 static version.}
I used convert.exe from this package to do this, but the generated jpg was disastrous.

I tried "convert -list format" in cmd and this is what i got for SVG.

MSVG rw+ ImageMagick's own SVG internal renderer
SVG rw+ Scalable Vector Graphics (XML 2.9.0)
SVGZ rw+ Compressed Scalable Vector Graphics (XML 2.9.0)

How can I make the XML changed to RSVG. Please note, I haven't installed imagemagick in my system, just used the portable version.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: RSVG setup in windows

Post by snibgo »

deepeshsp wrote:How can I make the XML changed to RSVG.
I don't understand the question.

You may get better results by using Inkscape as the delegate. To do this on Windows:

1. Install Inkscape (from http://inkscape.org/download/?lang=en ).

2. Note the directory of inkscape.exe. Add this to your path, eg for a temporary change:

Code: Select all

set PATH="C:\Program Files (x86)\Inkscape\inkscape.exe";%PATH%
3. Now try ...

Code: Select all

convert -verbose in.svg out.jpg
... and you should see that it is using Inkscape.
snibgo's IM pages: im.snibgo.com
deepeshsp
Posts: 6
Joined: 2013-07-25T23:55:41-07:00
Authentication code: 6789

Re: RSVG setup in windows

Post by deepeshsp »

I was looking to change

Code: Select all

SVG rw+ Scalable Vector Graphics (XML 2.9.0)
to something like

Code: Select all

SVG rw+ Scalable Vector Graphics (RSVG)
I was not having the RSVG deligate added. Now I got the issue solved by upgrading Imagemagick to 6.8.6 from 6.7.0.

Thanks for helping.
Post Reply