PIL and getpixel()

devnew at gmail.com devnew at gmail.com
Tue Oct 16 09:05:56 CEST 2007


i am trying to get the pixel data using im.getpixel()
i am getting a tuple like (152,118,106) for a pixel in a RGB jpeg
image .
what i really want is an integer value representing a pixel ,like waht
i can get from java's BufferedImage.getRGB(x,y) ..

i am wondering if someone can advise me on how i can do this

thanx
dn




More information about the Python-list mailing list