I need to draw a circle on a white bg. It needs to be 2 1/2 inches in diameter.
Thanks
How would I draw a circle on a white bg?
Re: How would I draw a circle on a white bg?
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
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: How would I draw a circle on a white bg?
Run this:
and then print circle_dpi.png at 300dpi.
Pete
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
Pete
Re: How would I draw a circle on a white bg?
Thank you both, I will try what you suggested.
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: How would I draw a circle on a white bg?
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
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