Page 1 of 1

Troubles converting a svg-file to png-file

Posted: 2018-10-01T06:28:58-07:00
by iGamer2
Hello guys,
I have a problem converting a svg file to a png-file using this code:

Code: Select all

convert -density 50 -background none -verbose 59.svg target.png
The output i get looks pretty normal and the png file itself is not looking bad:

Code: Select all

'inkscape' '/tmp/magick-154NxDcoSlKe3Bv' --export-png='/tmp/magick-154ZxWtmwYZaGb1' --export-dpi='50,50' --export-background='rgb(0%,0%,0%)' --export-background-opacity='0' > '/tmp/magick-154Mxh-pyb3vjLw' 2>&1
mvg:/tmp/magick-154nm4Hxm67BDm2=>/tmp/magick-154nm4Hxm67BDm2 MVG 2777x2777 2777x2777+0+0 16-bit sRGB 1.49KB 3.480u 0:03.459
59.svg MVG 2777x2777 2777x2777+0+0 16-bit sRGB 1.49KB 0.000u 0:00.000
59.svg=>target.png MVG 2777x2777 2777x2777+0+0 16-bit sRGB 171KB 0.680u 0:00.700
Here is the source (svg) file: https://drive.google.com/open?id=1F9VZH ... peEb-5QWAP
And here is what i get using the statement from above: https://drive.google.com/open?id=1aValx ... XTaVp-fJgi

As you can clearly see, the edges of the single "circle parts" (idk the english word) are all rounded, which should not be the case.

Can you help me with this problem? My ImageMagick version is 6.9.7-4
Thank you in advance

Re: Troubles converting a svg-file to png-file

Posted: 2018-10-01T07:02:58-07:00
by snibgo
What version of Inkscape?

With IM v6.9.9-50 and Inkscape 0.91, I get square ends to the circular arcs.

Re: Troubles converting a svg-file to png-file

Posted: 2018-10-02T01:35:58-07:00
by iGamer2
Thanks man, you were right.
It appears as if inkscape was not even installed.
When i updated/ installed it to the newest, version the bug was gone.