[Image-SIG] some picture manipulations I want to do

Victor Reijs geniet2003 at iol.ie
Sat Aug 20 15:24:51 CEST 2005

Hello all of you,

I am now to this Image module, so my question is to get a flavor of 

I want to do the following:
. have a given picture (jpg or bmp)
. bring it into 32 bit integer or floating point space
. perform on each pixel a gamma (different for each RGB channel)
. perform a 3*3 color transform matrix on each pixel
. perform on each pixel a gamma of 2.2 (to bring it back to xRGB space)
. convert back to jpg or bmp (in 8 bit space I assume).

I have looked at http://www.pythonware.com/library/pil/handbook/ , but I 
seem not to find the things I want. I am using PIL 1.1.5 with python 2.2

Thanks for your feedback.

All the best,


More information about the Image-SIG mailing list