Re: Bug report: Open image from a StringIO

Sebastian Haase <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
On Mon, Sep 6, 2010 at 2:00 PM, Joao Lopes <[email protected]> wrote:
> When opening a image from a StringIO the StringIO position pointer is
> not reseted. There should be a call to seek(0,0) before starting
> loading the image from the StringIO.
>
> I can provide a patch if needed.
>
> Thanks
> JC Lopes

I don't think this is really a good idea - I would not expect a
seek(0) when reading from an open file object either.

- Sebastian Haase

PS:
Why is the default reply here on IMAGE-SIG   NOT to the list ... that
might be a reason why there are so many  questions without (public)
answers .... ????
_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.