Converting QPixmap to QByteArray
Jump to navigation
Jump to search
English Български
Convert QPixmap to QByteArray
This is one way to convert QPixmap [doc.qt.nokia.com] to QByteArray [doc.qt.nokia.com].
Useful when you want to store a pixmap in a database etc.
Now variable bArray contains the byte array form of pixmap.