On 8/18/08, Ashish Sethi <[EMAIL PROTECTED]> wrote:
> Hi all,
> I have a problem in converting the pixel data (read from a string and
> written to a file using fromstring command in PIL ).
> The file handle of this file is called buffer. Now, when I tried to open the
> file as an image file but it didnt work.

I'm confused. Why don't you use Image.save() to write the image and
Image.open() to read it?

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to