Page 1 of 1

How would I draw a circle on a white bg?

Posted: 2008-03-13T08:34:42-07:00
by c5c5
I need to draw a circle on a white bg. It needs to be 2 1/2 inches in diameter.

Thanks

Re: How would I draw a circle on a white bg?

Posted: 2008-03-13T12:10:21-07:00
by Bonzo
To get the circle 2 1/2" you will have to add a density and work the dimensions out from that.

Code: Select all

convert -size 200x200 xc:white -stroke black -strokewidth 1 -fill none -draw "circle 100,100 100,0 " circle.png

Re: How would I draw a circle on a white bg?

Posted: 2008-03-13T14:22:36-07:00
by el_supremo
Run this:

Code: Select all

convert -density 300x300 -size 900x900 xc:white -stroke black -strokewidth 1 -fill none -draw "circle 450,450 825,450 " circle_dpi.png
and then print circle_dpi.png at 300dpi.

Pete

Re: How would I draw a circle on a white bg?

Posted: 2008-03-13T14:37:48-07:00
by c5c5
Thank you both, I will try what you suggested. :D

Re: How would I draw a circle on a white bg?

Posted: 2008-03-13T15:06:00-07:00
by el_supremo
I forgot the units!
convert -units pixelsperinch -density 300x300 -size 900x900 xc:white -stroke black -strokewidth 1 -fill none -draw "circle 450,450 825,450 " circle_dpi.png

Pete