QImage image.save is different from the QPainter.drawImage(image)
Unsolved
General and Desktop
-
I have a image that generate from QOpenGLFramebufferObject::toImage()
And the image that I saved to hard driver
static int count = 0;
image.save(QStringLiteral("%0.bmp").arg(count++));
is different from the image the I use QPainter paint to the screen.
So what's happening?
The image that saved to hard driver:
The Image the was drawn to screen:
-
Hi,
How do you setup the painter ? Are you doing the any customization of the painter ?
-
Glad you found out and thanks for sharing !
Since you have it working now, please mark the thread a solved using the "Topic Tools" button so that other forum users may know a solution has been found :)