Archive for September 17, 2007

Python Challenge level 11: “odd even”

Level 11 requires playing with images once again. Fact 1: the image cave.jpg seems to have half ot its pixels blanked We’ll assume odd and even pixels belong to different images. This snippet will put me out of my misery and let me know ;) import Image src = Image.open(“cave.jpg”) w,h = src.size[0], src.size[1] print [...]

Read the rest of this entry »