How about if you
im=Image.open('red.jpg','r')
which will give you open jpeg object then
Image.eval(im,function).show()
or if you want to do it all on one line
Image.eval(Image.open('red.jpg','r'),function).show()
Dennis
On 1/11/07, Cochran, Travis [EMAIL PROTECTED] wrote:
I tried that and
The important thing to remember about eval() is that it does not operate
on the entire pixel: the function is for a single color channel at a
time, and behaves the same on all channels in the image. So your
function takes a single argument, and returns a single value. Then the
function is