With both of your help I was able to get this working. Here is the end result:
http://dottedi.biz/codesamples/convert/index.php
It started with: http://dottedi.biz/codesamples/convert/test.jpg and is
processed through php, convert, composite. To keep the image weight down I
tested -dept
8, 6
Bob Meetin writes:
> This seems simple, but I tried:
>
> convert -size 100x100 xc:none -fill red -draw 'circle 50,50 0,50'
> red-circle.png
> ...
> And numerous other variations, it either pushes one side too much or seems to
> be one pixel too small.
convert -size 100x100 xc:none -fill red -
This seems simple, but I tried:
convert -size 100x100 xc:none -fill red -draw 'circle 50,50 0,50' red-circle.png
convert -size 100x100 xc:none -fill red -draw 'circle 50,50 0,49' red-circle.png
And numerous other variations, it either pushes one side too much or seems to
be one pixel too small.