"howard chen" on  wrote...
| Hello,
| 
| I want to araw random line stroke on image, just like the Yahoo's Captcha
| 
| e.g.
| 
| Just like this image:
| http://upload.wikimedia.org/wikipedia/commons/b/b6/Modern-captcha.jpg
| 
| Any recommendation?
| 
First that line is not straight, not even if you happened to straighten
the text.

Second it isn't a problem, but you will need to do some calculations
yourself.   All you need is to pick three corrdinates and draw an arc
through them.

See IM Examples, Draw Primatives for all the information you need in
drawing lines.
   http://imagemagick.org/Usage/draw/

  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
   Judith looked at the demons and shook her head.  "I'm glad we didn't
   build four processors.  I'm not sure I could take a barbershop
   quartet!"                      -- Rick Cook, "The Wizardry Compiled"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to