ImageMagick SVG to PNG problems
Posted: 2014-01-18T20:38:08-07:00
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
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