> Just pack the RGB values into an `int` by shifting and or-ing. Untested: > > red, green, blue = img.getpixel(x, y) > pixel_as_int = red << 16 | green << 8 | blue > > Ciao, > Marc 'BlackJack' Rintsch
thanx Marc will try that dn -- http://mail.python.org/mailman/listinfo/python-list