PIL Question: Inverse of <image>.load()?

Casey Caseyweb at gmail.com
Fri Aug 15 21:40:08 EDT 2008


I'm doing some image processing that requires accessing the individual
pixels of the image.  I'm using PIL 1.1.6 and creating a 2D array of
pixel RGB tuples using the Image class instance load() method.
Unfortunately, I can't seem to find a reciprocal function that
converts the 2D array of RGB tuples back to an image.  I've gone
through all of the online documentation and can't seem to find what
should be an obvious solution.

Any thoughts?



More information about the Python-list mailing list