How to draw line on Image?

Discussion in 'Python' started by Daniel Mark, Aug 18, 2006.

  1. Daniel Mark

    Daniel Mark Guest

    Hello all:


    I want to draw some shapes, such as lines, circles on an image.

    The input to the program is an image and the output from the program is
    a superimposed image.

    what kind of document or functions I should take a look for searching
    this question?

    The program doesn't show the image, but draws some shapes on the input
    image.


    Thank you
    -daniel
     
    Daniel Mark, Aug 18, 2006
    #1
    1. Advertising

  2. Daniel Mark

    David Isaac Guest

    David Isaac, Aug 18, 2006
    #2
    1. Advertising

  3. Daniel Mark

    Paul McGuire Guest

    Paul McGuire, Aug 18, 2006
    #3
  4. Paul McGuire wrote:
    > "David Isaac" <> wrote in message
    > news:3CkFg.855$uV.546@trnddc08...
    >
    >>"Daniel Mark" <> wrote in message
    >>news:...
    >>
    >>>I want to draw some shapes, such as lines, circles on an image.

    >>
    >>
    >>http://www.pythonware.com/library/pil/handbook/psdraw.htm
    >>
    >>hth,
    >>Alan Isaac
    >>
    >>

    >
    >
    > ImageDraw (http://www.pythonware.com/library/pil/handbook/imagedraw.htm)
    > might be more generally helpful than PSDraw.
    >
    > -- Paul
    >
    >

    And if the quality of the result is important maybe (maybe, because I
    haven't used it yet myself)
    aggdraw
    an add-on to the PIL library that supports anti-aliased drawing
    http://effbot.org/zone/draw-agg.htm

    Claudio Grondi
     
    Claudio Grondi, Aug 18, 2006
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?QUNhdW50ZXI=?=

    draw line on image

    =?Utf-8?B?QUNhdW50ZXI=?=, Feb 22, 2005, in forum: ASP .Net
    Replies:
    3
    Views:
    472
    Peter Rilling
    Feb 22, 2005
  2. steve smith
    Replies:
    2
    Views:
    715
    Jim Sculley
    Jul 13, 2003
  3. Rick
    Replies:
    3
    Views:
    1,458
    Sandip Chitale
    Sep 30, 2003
  4. Yasir Khalifa
    Replies:
    3
    Views:
    899
    Thomas Weidenfeller
    Jun 29, 2004
  5. SPG
    Replies:
    2
    Views:
    5,367
Loading...

Share This Page