On 08/11/2014 09:53 PM, diliup gabadamudalige wrote: > type(f) gives <type 'instance'> > yourimage = f.getvalue() > with open('myscrambledimage.dat', 'w') as f: > f.write(yourimage) > so i coukld write this file to disk > > now how can i convert this back to an image? > Thanks in advance What are you actually tryig to do? I'm sure there is a simpler way. -- The Sheep