Load QPixmap from QByteArray in Qt?

Viewed 26286

I have a byte array with the contents of an image (in png/bmp or some other format).

How can I load it into a QPixmap?

3 Answers
Related