Page 1 of 1

using convert in imagemagick

Posted: 2010-02-26T04:59:03-07:00
by bhanupriyagattu
convert -size 100×60 xc:none -fill red -draw 'circle 25,30 10,30' -draw 'circle 75,30 90,30' -draw 'rectangle 25,15 75,45' gel_shape.png
convert:non-conforming drawing primitive definition 'circle'@error/draw.c/DrawingImage/3412
convert:unable to open image '25,30,10,30' no such file or directory 'circle'@error/draw.c/Drawingimage/3412
i don't know where i have to make change
kindly help me

Re: using convert in imagemagick

Posted: 2010-02-26T07:05:44-07:00
by snibgo
What is that character between 100 and 60? It should be the letter x.

Code: Select all

convert -size 100x60 xc:none -fill red -draw 'circle 25,30 10,30' -draw 'circle 75,30 90,30' -draw 'rectangle 25,15 75,45' gel_shape.png
Then it works fine, on Ubuntu. You will need double-quotes for Windows, of course.

Re: using convert in imagemagick

Posted: 2010-02-26T09:54:55-07:00
by fmw42
Good eye, snibgo!

Looks like cap X and should be lowercase x

Re: using convert in imagemagick

Posted: 2010-02-26T21:36:13-07:00
by bhanupriyagattu
Thanks it works now