ImageMagick SVG to PNG problems

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
twosik
Posts: 1
Joined: 2014-01-18T20:30:01-07:00
Authentication code: 6789

ImageMagick SVG to PNG problems

Post by twosik »

I am trying to get SVG to PNG conversion working on Amazon Linux. I already have everything working on Ubuntu but I can't seem to get Inkscape installed on Amazon Linux to have a better renderer.

Has anybody been able to install Inkscape on Amazon and/or had the problem? Has anybody had problems with the SVG to PNG conversion producing blank images?

Also with Imagick I read and wrote out the same file and the written out file has errors. There is an error with this code obviously: <g style="</g>.

Read in:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="728" height="90">
<g></g>
</svg>

It wrote out:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010 ... /svg10.dtd">
<svg width="728" height="90">
<g style="">
<g style="</g>
</g>
</svg>

Thanks,
twosik
Post Reply