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
using convert in imagemagick
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: using convert in imagemagick
What is that character between 100 and 60? It should be the letter x.
Then it works fine, on Ubuntu. You will need double-quotes for Windows, of course.
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
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: using convert in imagemagick
Good eye, snibgo!
Looks like cap X and should be lowercase x
Looks like cap X and should be lowercase x