I’m working on an application written under linux, that will be in production under windows.
Note that the windows machine as a GeForce GTX 1080, with a screen resolution set at 1920X1200.
At a moment, I export the image generated by my app (in a window of 4096X4096px) with :
fft->before.grabScreen(0, 0 , 4096,4096); //then (...) fft->before.save("cut_simulation.png");
Under linux, the result is good (see attached file) Good export from linux
but on windows, the result is a picture in picture bad, but with a global resolution of 4096X4096, that is ~ok. win bad grabScreen
I try an alternative with
Under linux, the result is the same (good)
but on windows, the result is a picture with a resolution near but not egal with the screen resolution : Windows saveViewport
This image as a resolution near the screen resolution but not egal (!)
Anybody knows how to solve this ?