[Image-SIG] A small question
Yoav I H Parish
parish@ikb.mavt.ethz.ch
Thu, 04 May 2000 15:20:34 +0200
Hello,
I would like to use the ImageDraw library to draw overlays. If i use the
draw.line
i can't see the line on the picture.
Anybody?
thanxinadvance
yogi
P.s. The ImageDraw docs have the example wrong. It should go something
like
import Image, ImageDraw, sys
im = Image.open("whatever.tif")
draw = ImageDraw.Draw(im)
draw.line([(0,0), im.size],fill=128)
draw.line([(0,im.size[1]), (im.size[0],0)], fill=128)
im.save(sys.stdout, "TIFF")