ImageMagick

Published July 11, 2005
Advertisement
So I managed to get SVG rendering in a MSVC program working by using ImageMagick. This was somewhat more annoying than I expected, primarily since ImageMagick depends on quite a few other libraries, but it works. Sort of. There are two problems, one smallish and one biggish.

The smaller problem is that ImageMagick seems to rasterize the SVG file as soon as the image gets loaded. I think there's a way around that though. If worse comes to worse, I can always alter the SVG XML in memory before the load. Luckily SVG declares some simple transformations that can be used to wrap the nodes.

The bigger problem is that ImageMagick doesn't seem capable of rendering what I thought was a fairly simple SVG file properly. Inkscape and Adobe's SVG viewer both seem to produce what I expected, so I'm guessing this is a deficiency in the ImageMagick SVG rendering.

Oh well, my release date isn't for another seven years; I can probably work out a proof on concept using a reduced set of SVG functionality and hope a better rasterizer comes along later.
Previous Entry More SVG
Next Entry ECM
0 likes 2 comments

Comments

jollyjeffers
Quote:Oh well, my release date isn't for another seven years

[lol] almost sounds like a DNF scenario!

Jack
July 11, 2005 07:55 AM
SiCrane
August 2012, baby. I'm making this release date.
July 11, 2005 04:24 PM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Profile
Author
Advertisement

Latest Entries

New bug to me

1674 views

Week/Class 9

1515 views

Week/Class 8

1553 views

Week/Class 7

1603 views

The promised files

1830 views

Week/Class 6

1297 views

Week/Session 5

1352 views

Week/Session 4

1292 views

On the soapbox

1394 views

Week/Session 3

1269 views
Advertisement