I am trying to change the RGB values in a photo with the Python Imaging Library. I have been using the function Image.point and it does what I want except I want to be able to implement a different function on the R the G and the B values. Anyone know how I can do this?
Thanks!
You’re better off using
numpyin addition to PIL for doing math of the individual bands of an image.As a contrived example that is not meant to look good in any way:
Input

Output
