Converting SVG with negative boundaries
Posted: 2011-02-17T03:14:56-07:00
Hi all,
I have a svg file with the following content:
Any svg visualizer (Gnome image viewer, Okular, Firefox, Chrome...) shows a line from the lower-left to the upper-right.
Whathever arguments I try to convert it from svg to png using the convert command line, the image is always blank. There's any way to show this image as the other standard visualizers do?
I'm using Ubuntu 10.04 and ImageMagick 6.5.7-8 2010-12-02 Q16
Thanks!
I have a svg file with the following content:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg contentScriptType="text/ecmascript" width="1150px"
xmlns:xlink="http://www.w3.org/1999/xlink" zoomAndPan="magnify"
contentStyleType="text/css" viewBox="-879 -977 773 565" height="841px"
preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg"
version="1.1">
<g id="edges">
<path stroke-width="3.0"
d="M -850.032471,-440.960083 L -134.113083,-948.163879"
stroke="#0000ff"/>
</g>
</svg>
Whathever arguments I try to convert it from svg to png using the convert command line, the image is always blank. There's any way to show this image as the other standard visualizers do?
I'm using Ubuntu 10.04 and ImageMagick 6.5.7-8 2010-12-02 Q16
Thanks!