Page 1 of 1
Converted files are not identical
Posted: 2014-08-18T03:27:41-07:00
by Ganesha
Hi ,
I have converted a svg file to png
using the command
Here the view of the original svg varies from the converted png file.
here is the svg file :
https://www.dropbox.com/s/z1tja1hjh6xhs ... ircles.svg
here is the view of the files svg file in browser and convert png file in viewer
https://www.dropbox.com/s/zhqotp65kbcxoto/2.png
Kindly help me why this happens and how to fix this problem
Re: Converted files are not identical
Posted: 2014-08-18T04:03:57-07:00
by dlemstra
The image you are seeing on the background is there because of this part of your svg file:
Code: Select all
<image
xlink:href="lotsofcircles.jpg"
sodipodi:absref="C:\Users\biohazzard\SVG Files\Yo, Make me!\lotsofcircles.jpg"
width="429"
height="433"
id="image2449"
x="0"
y="0" />
Because the browser cannot find the file it it showing an 'file not found' image that is stretched to 429x433. The command line does not show a 'file not found' image, it just shows a white background.
Re: Converted files are not identical
Posted: 2014-08-18T06:43:00-07:00
by Ganesha
Hi dlemstra,
I understand your point that there is no file in the path so it can't be converted. But while I am using MAC . It gives the file the original view of the image. Kindly test the following in a MAC machine.
Can you check the following step by step:
1) download the file
https://www.dropbox.com/s/z1tja1hjh6xhs ... ircles.svg
2) Open with your browser(safari).
3) It gives the exact view of the image.
4) Now convert to png using imagemagick
5) open the converted png file in viewer both are different
Since the file(lotsofcircles.jpg) is not found in the filepath how can be it is viewable in safari browser and why it is unable to convert through Imagemagick for the same reason?
Re: Converted files are not identical
Posted: 2014-08-18T07:02:07-07:00
by snibgo
Your SVG contains loads of Inkscape data. I assume your IM SVG renderer is Inkscape?
Re: Converted files are not identical
Posted: 2014-08-18T07:03:56-07:00
by dlemstra
Do you want my address so you can send me a MAC? The image you are seeing on the background is a 'blown up' version of the following image:
http://1stclass.mylargescale.com/stevec ... age-01.gif. This is an image that is only used by your safari browser. It will display this image when an image could not be found. The command line version of ImageMagick will of course not use this
Re: Converted files are not identical
Posted: 2014-08-18T22:57:27-07:00
by Ganesha
Thanks a bunch ! dlemstra