I am using version 1.3.19 of GM and trying to convert an SVG to a PNG with the following command:
gm convert -background "#ffffffff" triangle.svg triangle.png
This is successful, but it is leaving a white border around the actual image.
If i use the following command:
gm convert -background none triangle.svg triangle.png
it leaves a black border around the image.
Is there any way I can convert SVG to PNG without having a bordered image.
Sorry no one responded.
The solution is do do: