Hi

I am having problems updating and displaying a (8bit) pixmap using data provided by another thread. The pixmap is created from a Qimage. The QImage is created from binary data sent over ethernet link using udp protocol. The data is sent as 1k packets every 1 millisecond. (the QImage is 1k x 2k )

A seperate thread processes the network packets and emits a signal on every packet, the gui thread then updates the QImage with pixel data and a new pixmap is created with the new data and shown on a QLabel.

However the display cannot keep up with the network data rate. It appears that the QPixmap::fromImage(...) function is the bottleneck. This is called every 1ms (packet frequency). Any ideas on how to speed this up?

Regards