> if you start counting at the 0th row and 0th column, this will give you > the 4th row and 2nd column. > if you're counting from the 1st row and 1st column, this will give you > the 5th row and 3rd column. >> That number is the index to use to get the pixel at coords (2,5) >> > So this is actually (3,5) or, to count from 0, (2,4). > But yeah, the general idea is there. > If my math is wrong I'm sure you won't hesitate to correct me ;) > -Luke
No. You're right, of course. :-) I wasn't thinking. JS _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor