jimgardener
2/17/2008 3:09:00 PM
hi
i am using PIL to get and set image data.Using image.getdata() i can
get a tuple of ints for each pixel. also i can use im.putdata(data)
to set pixels .
suppose i am given a double value as a pixel value (say 7245654.32456
which i may get from some image processing calc..) and thus i have an
array of doubles to represent the image.can i use im.putdata() to set
the pixel values without loss of information?
can someone help?