[Image-SIG] progressive image displaying
by Arthur Elsenaar other posts by this author
Jun 29 2004 11:31PM messages near this date
Re: [Image-SIG] I think I found a bug ...
|
[Image-SIG] Re: progressive image displaying
Hi,
what I like to do, is reading arbitrary images coming in over a socket
and display them _as they arrive_, so when a chunk is in, immediatly
display it (in pygame).
From the PIL documentation, I can see that one needs to use the
frombuffer() method and feed that to pygame using the fromstring()
method. Also I understand the pygame.load() function needs a complete
file like object (StringIO), so how does one go about partly displaying
these incoming data chunks? Do I need to use the PIL parse function
somehow? Do I need to pad the missing data?
I'm a sorta newbie and am a bit at a loss how to fit it all together.
Hope someone can enlighten me and point me to some examples maybe?
Thanks, Arthur.
_______________________________________________
Image-SIG maillist - Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
Thread:
Arthur Elsenaar
Fredrik Lundh
Arthur Elsenaar
|