Load image from QIODevice instead of a temporary QByteArray
QImage can directly load from a QIODevice, while `loadFromData` wraps the QByteArray into a QBuffer to have an QIODevice.
parent
989576dc
Please register or sign in to comment
QImage can directly load from a QIODevice, while `loadFromData` wraps the QByteArray into a QBuffer to have an QIODevice.