"Sanjiv K. Bhatia" on  wrote...
| Can some kind soul provide me with code to draw a line in an image.  I
| have two points (x0,y0) and (x1,y1) and will like to draw a line from
| one point to the other in C.
| 
  convert logo: -draw 'stroke black stroke-width 2 line 50,370 610,70' x:

The logo: is a built in image, and x: output the result to X windows.

For more 'draw' commands (simple and complex) see...
   IM Examples, Draw
     http://www.imagemagick.org/Usage/draw/


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
      I don't make the rules... I just impliment them!
                                           -- Programmers Law of Policy
 -----------------------------------------------------------------------------
     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