Receiving image data on tcp-ip port and draw it real time

Hi,

How do you implement a functionality to draw image from data which you
are receiving on a port continuously?
Planning to hook this into wxPython.

http://danbethell.github.com/rmanconnect/

Prashant

You can load a wx.Image from an in-memory buffer using wx.ImageFromStream, but it does need to have the full image data available. I don't think wx can deal very well with partial image data, but if you need that maybe PIL could do it.

···

On 3/5/10 10:17 AM, King wrote:

Hi,

How do you implement a functionality to draw image from data which you
are receiving on a port continuously?

--
Robin Dunn
Software Craftsman