[Image-SIG] imagedraw
Chris Cogdon
chris at cogdon.org
Fri Sep 19 12:32:23 EDT 2003
On Friday, Sep 19, 2003, at 09:12 US/Pacific, WANG Yu wrote:
> draw.line((0, 0), im.size)
This needs to be like this:
draw.line ( ((0,0),im.size) )
There is a SINGLE line parameter, which can be ((x1,y1),(x2,y2) or
(x1,y1,x2,y2). If you don't put in that extra set of parenthesis, then
you're passing im.size to the 'ink' parameter, which requires a integer.
--
("`-/")_.-'"``-._ Chris Cogdon <chris at cogdon.org>
. . `; -._ )-;-,_`)
(v_,)' _ )`-.\ ``-'
_.- _..-_/ / ((.'
((,.-' ((,/ fL
More information about the Image-SIG
mailing list