[magick-users] circle
Noel da Costa
noel.dacosta at magharl.co.uk
Thu Aug 21 01:14:46 PDT 2008
Hi again,
I should have added what I'm trying to achieve:
I'm trying to write a script that will generate an image that
perfectly fits a drawn circle (with a specified radius and strokewidth).
I can achieve this for radius=10, strokewidth=1:
convert -size 21x21 xc:skyblue -fill white -stroke black -strockwidth
1 -draw "circle 10,10,10,0" /tmp/test.gif
This translates well to any radius:
convert -size (r+1)x(r+1) -draw "circle r,r,r,0 /tmp/test.gif
But I can't figure out how to get similar results for larger
strokewidths.
Thanks,
Noel
> Hi,
>
> I'm trying to draw circles...
> http://www.imagemagick.org/script/command-line-options.php?#draw
>
> What is x0,y0 x1,y1 ? I can't seem to get the desired results, so
> I'm obviously misunderstanding what these co-ordinates represent.
>
>
>
> Thanks,
> Noel
>
Lead Developer
Magnet Harlequin
T: 01895 432400
F: 01895 432444
E: noel.dacosta at magharl.co.uk
W: http://www.magharl.co.uk
This e-mail is intended solely for the addressees named above and any
other
use is prohibited. Access to this email by anyone else is
unauthorised. It
may contain confidential information. If you have received this e-mail
in
error, please contact the sender by return e-mail. We do not accept
legal
responsibility for the contents of this message if it has reached you
via
the internet. Any opinions expressed are those of the author and are not
necessarily endorsed by the company. Recipients are advised to apply
their
own virus check to this message and all incoming e-mail on delivery.
_______________________________________________
Magick-users mailing list
Magick-users at imagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick-users
More information about the Magick-users
mailing list