Re: Rapid Update of Pixmap
Well, you don't have displays this fast. Not to mention human eye+brain combination. So it's not really helpful to try to get a 1ms fast display.
Just update some internal data, and trigger an update of the pixmap every 20ms or so.
The illusion to human beings will be just fine and your hardware and Qt should be able to do that, too.
HTH
Re: Rapid Update of Pixmap
Thanks Caduel
However I have tried that. The problem is the conversion from QImage to QPixmap taking too long (The image is 2k wide by 1k high) The QImage is constructed one vertical line at at time. I want to give the illusion of a rolling display .
I receive a vertical line of binary data every 1 millisecond over ethernet link using udp. A signal is emitted for every line that is received
I append this vertical line of data to the QImage and convert to Pixmap for display on a QLabel. This is taking far too long. Is there a better way? Is there a way to append each new vertical line of data to the pixamp without having to do the conversion from image to pixmap?
Thanks
Re: Rapid Update of Pixmap
Hi
Struggling with this.
I need to update a pixmap line by line from raw data. Presently I convert from QImage for display on a label. Can anyone offer a better/quicker solution?
Regards
Re: Rapid Update of Pixmap
Re: Rapid Update of Pixmap
Hi
Is it not possible to update a pixmap line by line? Is it possible to paint slices of the Image as I receive them?
Regards