Peter Otten wrote:
W. eWatson wrote:
r wrote:
Change this line:
draw.line((0,0),(20,140), fill=128)
To This:
draw.line((0,0, 20,140), fill=128)
And you should be good to go. Like you said, if you need to combine 2
tuples you can do:
(1,2)+(3,4)
Yes, that's true, but the big question is how
W. eWatson wrote:
> r wrote:
>> Change this line:
>> draw.line((0,0),(20,140), fill=128)
>>
>> To This:
>> draw.line((0,0, 20,140), fill=128)
>>
>> And you should be good to go. Like you said, if you need to combine 2
>> tuples you can do:
>> (1,2)+(3,4)
> Yes, that's true, but the big question
On 2009-01-28, W. eWatson wrote:
> Yes, that's true, but the big question is how to "see" the final image?
> Either one employees another module or writes the file into a folder, then
> displays it with a paint program?
Does im.show() not work?
-Bill
--
Sattre Press
r wrote:
Change this line:
draw.line((0,0),(20,140), fill=128)
To This:
draw.line((0,0, 20,140), fill=128)
And you should be good to go. Like you said, if you need to combine 2
tuples you can do:
(1,2)+(3,4)
Yes, that's true, but the big question is how to "see" the final image?
Either one emp
Change this line:
draw.line((0,0),(20,140), fill=128)
To This:
draw.line((0,0, 20,140), fill=128)
And you should be good to go. Like you said, if you need to combine 2
tuples you can do:
(1,2)+(3,4)
--
http://mail.python.org/mailman/listinfo/python-list
r wrote:
On Jan 27, 9:15 pm, "W. eWatson" wrote:
Here's my program:
# fun and games
import Image, ImageDraw
im = Image.open("wagon.tif") # it exists in the same Win XP
# folder as the program
draw = ImageDraw.Draw(im)
draw.line((0, 0) + im.size, fill=128)
draw.line((0,0),(20,140), fill=128)
On Jan 27, 9:15 pm, "W. eWatson" wrote:
> Here's my program:
>
> # fun and games
> import Image, ImageDraw
>
> im = Image.open("wagon.tif") # it exists in the same Win XP
> # folder as the program
> draw = ImageDraw.Draw(im)
> draw.line((0, 0) + im.size, fill=128)
> draw.line((0,0),(20,140), fill=
Here's my program:
# fun and games
import Image, ImageDraw
im = Image.open("wagon.tif") # it exists in the same Win XP
# folder as the program
draw = ImageDraw.Draw(im)
draw.line((0, 0) + im.size, fill=128)
draw.line((0,0),(20,140), fill=128)
# How show this final image on a display?
root.main