Page 1 of 1

Problem converting .mvg Image

Posted: 2007-09-21T03:53:32-07:00
by Isnogud
Hi,

i have a problem converting .mvg Images with the command-line tool convert.exe (ImageMagick-6.3.5-Q16) on Windows-XP.

I can open the image with IMDisplay just fine but when i try to open with convert i get the error:

Code: Select all

Non-conforming drawing primitive definition 'graphic-context'
The convert only seems to work with very short .mvg files and produces errors with longer files.

I tired

Code: Select all

convert -size 624x369 xc:white  -draw @tempimg.mvg  mvg_draw.gif
and

Code: Select all

convert tempimg.mvg  mvg_draw.gif
both only seem to execute the first few lines and than stop.

i uploded one of the .mvg files i tried to http://www.cpieper.de/tempimg.mvg (it's an example from the "Introduction to Vector Graphics") i get this output after converting: http://www.cpieper.de/mvg_draw.gif

Re: Problem converting .mvg Image

Posted: 2007-09-21T06:48:37-07:00
by magick
Strange indeed. We tried converting your MVG file and it worked as expected using ImageMagick 6.2.5-9, the latest release.

Re: Problem converting .mvg Image

Posted: 2007-09-21T15:43:03-07:00
by Isnogud
Hi,

i tried on a different computer, and different release, i get the same problem.

i also tried MagickCMD:

Code: Select all

MagickCMD convert tempimg.mvg  mvg_draw.gif
and i get the same incomplete output. it would be nice if somebody else could try this on a windows machine so i can be certain it's mot my fault.

Re: Problem converting .mvg Image

Posted: 2007-09-21T16:26:26-07:00
by el_supremo
I tried it with IM 6.3.5 Q8 on Win XP and it works fine.

Pete

Re: Problem converting .mvg Image

Posted: 2007-09-25T00:04:15-07:00
by Isnogud
Hi, i tried it again with a few more computers and it never worked.

Maybe you didn't understand me. I get an output image, but it is not complete. There is blue background with one line of text, but there should be a complete pie chart.

or is there any other way to convert .mvg files i could try?

Re: Problem converting .mvg Image

Posted: 2007-09-25T16:49:10-07:00
by anthony
Maybe if you present what the image should look like with the MVG and what it comes out as.

Re: Problem converting .mvg Image

Posted: 2007-09-26T01:05:52-07:00
by Isnogud
Hi,

that's the .mvg file i used: http://www.cpieper.de/tempimg.mvg

this is what the output should look like (IMDisplay):

Image

this is the output i get with convert:

Image

Re: Problem converting .mvg Image

Posted: 2007-09-26T16:01:44-07:00
by anthony
Okay I tried the mvg file and got the expected results. I am running the latest IM Which is version 6.3.6.

Perhaps you can try downloading the latest IM for windows.