I receive image data from an API as an int pointer to an array laid out in memory like a C array x[i][j][k]
What would be the recommended way to display this image in a graphics view?
I am currently using a nested loop to loop through the entire array and "QImage::setPixel(x,y,Qrgb)" to set every the color of every pixel. Then I turn the QImage into a Qpixmap, add it to a GraphicsScene, then link it to a GraphicsView.
Bookmarks