You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://doc.qt.io/qt-5/qimage.html#QImage-4
here
there is a QImage constructor
you just have to give PixelBuffer::data()
as the buffer
& make sure that you don't destroy the pb until the image is destroyed
for format, use QImage::Format_RGBA8888
you can load a Pb using fs::readPNGImage
& you can also scale it
The text was updated successfully, but these errors were encountered:
https://doc.qt.io/qt-5/qimage.html#QImage-4
here
there is a QImage constructor
you just have to give PixelBuffer::data()
as the buffer
& make sure that you don't destroy the pb until the image is destroyed
for format, use QImage::Format_RGBA8888
you can load a Pb using fs::readPNGImage
& you can also scale it
The text was updated successfully, but these errors were encountered: