Save given QImage directly into QByteArray:
(Taken from Documentation)Qt Code:
QImage image; QByteArray ba; image.save(&buffer, "PNG");To copy to clipboard, switch view to plain text mode
Save given QImage directly into QByteArray:
(Taken from Documentation)Qt Code:
QImage image; QByteArray ba; image.save(&buffer, "PNG");To copy to clipboard, switch view to plain text mode
Bookmarks