[Image-SIG] inverse function of getdata?

Fredrik Lundh fredrik at pythonware.com
Mon Mar 31 20:37:00 CEST 2008

inhahe wrote:

> the inverse of im.tostring seems to be Image.fromstring, but i don't see 
> a corresponding function for im.getdata.   im.frombuffer doesn't seem to 
> accept the output of im.getdata.  I think there should be a function 
> that does.

use im.putdata(seq); see


for details.


More information about the Image-SIG mailing list