using convert in imagemagick

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
bhanupriyagattu

using convert in imagemagick

Post 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
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: using convert in imagemagick

Post 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.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: using convert in imagemagick

Post by fmw42 »

Good eye, snibgo!

Looks like cap X and should be lowercase x
bhanupriyagattu

Re: using convert in imagemagick

Post by bhanupriyagattu »

Thanks it works now
Post Reply