Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Isnogud
Post
by Isnogud » 2007-09-21T03:53:32-07:00
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
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
magick
Site Admin
Posts: 11064 Joined: 2003-05-31T11:32:55-07:00
Post
by magick » 2007-09-21T06:48:37-07:00
Strange indeed. We tried converting your MVG file and it worked as expected using ImageMagick 6.2.5-9, the latest release.
Isnogud
Post
by Isnogud » 2007-09-21T15:43:03-07:00
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.
el_supremo
Posts: 1015 Joined: 2005-03-21T21:16:57-07:00
Contact:
Post
by el_supremo » 2007-09-21T16:26:26-07:00
I tried it with IM 6.3.5 Q8 on Win XP and it works fine.
Pete
Isnogud
Post
by Isnogud » 2007-09-25T00:04:15-07:00
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?
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Contact:
Post
by anthony » 2007-09-25T16:49:10-07:00
Maybe if you present what the image should look like with the MVG and what it comes out as.
Isnogud
Post
by Isnogud » 2007-09-26T01:05:52-07:00
Hi,
that's the .mvg file i used:
http://www.cpieper.de/tempimg.mvg
this is what the output should look like (IMDisplay):
this is the output i get with convert:
anthony
Posts: 8883 Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia
Contact:
Post
by anthony » 2007-09-26T16:01:44-07:00
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.
Users browsing this forum: Google [Bot] , Semrush [Bot] and 8 guests