[Image-SIG] Bug report: Open image from a StringIO

Sebastian Haase seb.haase at gmail.com
Thu Sep 9 10:05:58 CEST 2010


On Mon, Sep 6, 2010 at 2:00 PM, Joao Lopes <joao.lopes at textendo.com> 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 .... ????


More information about the Image-SIG mailing list