Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QQuickWindow::grabWindow() grabs the window limited by the monitor resolution
davm last edited by
After I grab the window using QQuickWindow::grabWindow() and then save it using QImage::save() I see that the actual saved image image's resolution is always limited by the current monitor's resolution. For example if I try to save qml screen with resolution 2400 x 1360 using monitor with 1920x1080 resolution I still get the PNG file with 1855x1056 resolution, but when I do the same using 4K monitor I get exactly the same qml's resolution for the saved PNG file - 2400 x 1360. I guess this is because the actual grabbed image can't be greater than the real screen (limited by the monitor resolution). Am I right?
Any input would be appreciated.