I am using Image Magick library to convert a .svg file into a jpg but it is creating a blank image. I have checked a lot of forums for it , but was not able to figure out the problem with it. I have a file name abc.svg , which have the following code inside it;
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="12cm" height="12cm">
<g style="fill-opacity:0.7; stroke:black; stroke-width:0.1cm;">
<circle cx="6cm" cy="2cm" r="100" style="fill:red;"transform="translate(0,50)" />
<circle cx="6cm" cy="2cm" r="100" style="fill:blue;"transform="translate(70,150)" />
<circle cx="6cm" cy="2cm" r="100" style="fill:green;"transform="translate(-70,150)"/>
</g>
</svg>
I am trying to convert it by the following command :
$convert abc.svg abc.jpg
But the file I am getting (i.e abc.jpg is simply blank)
Please help me out with the problem, so that I can move ahead with the thing.
Thanks in advance.