Page 1 of 1

Posted: 2006-11-16T10:03:50-07:00
by el_supremo
Try this:

Code: Select all

convert your_input_image.jpg -fill rgba(0,0,100%,0.75) -stroke black -draw "circle 50,30 40,10" draw_circle.gif
you can then play with the rgba function to produce the colour and opacity you need. It can also be used as an argument to "-stroke".
For more info on rgba see the -fill argument at:
http://www.imagemagick.org/script/comma ... s.php#fill

Pete

Posted: 2006-11-17T01:54:58-07:00
by anthony
We both of you need to re-think your final output image format.

I say it on just about every page in IM examples...
GIF does not understand semi-transparency!!!!!
This format is limited to 256 characters one of which can represent full-transparency. That is you either can have a color or transparent. Not semi-transparency.

See IM Examples, Common Image formats, GIF

If you want semi-transparency, use PNG format. OR flatten the image onto a background image, to remove transparecnty completly.

Posted: 2006-11-17T10:26:27-07:00
by el_supremo
GIF does not understand semi-transparency!!!!!

Arrggghhhhhhhh.
:oops:

Pete