Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views


Sign in to follow this  


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.
Sign in to follow this  


Recommended Comments

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

[lol] almost sounds like a DNF scenario!


Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!