Rasterise an SVG image as a PNG using PHP

Need help with Photoshop, the GIMP, Illustrator, or others? Want to show off your work? Looking for advice on your newest Flash stuff?

Moderator: General Moderators

Post Reply
User avatar
Forum Contributor
Posts: 433
Joined: Tue Mar 30, 2004 4:24 am
Location: London, UK

Rasterise an SVG image as a PNG using PHP

Post by batfastad »

Hi guys

Just wondering if anyone's had any experience with rasterising SVG graphics files using PHP?

I've heard that it can be done using the Imagemagick library. Unfortunately my host doesn't have Imagemagick installed - only GD.

Does anyone know if it's possible?
Or have any examples of sites that are doing this?

SVG support in browsers is thin on the ground at the moment unfortunately.
I thought a good spot of work to do for one of my clients would be to take all his SVG files and make his site use them. At the moment the images used are really low-quality jpg files so it would be good to take these SVG images and rasterise them somehow.

Any ideas?
I've been searching around using google and can't find too much info.


User avatar
Site Administrator
Posts: 13595
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Post by Christopher »

Pasting you thread title into Google gave me this page. Maybe there is something there.
Post Reply