Sunday 15 March 2015

Displaying a JPG stored in memory (not in disks) using Qt? -


I read a YUV file from / dev / fb0 and transcode to the stored in JPG I am I want to use QT to display it, but QImage class loaded JPG files are stored on disk with the example load ("a.jpg") .

But I want to display it once, so I do not want to save the file to disk, and then load the QImage class from disk, and display it at the end Please. It is so inefficient.

How can I create an image directly from memory?

This is for QImage :: loadFromData .

No comments:

Post a Comment