Open rotan-hanrahan opened 4 weeks ago
Thanks, I won't be able to look at this until I get my laptop back from being repaired, which should be within a couple of weeks.
I've reproduced this, and multiple screens isn't working either.
I'll probably have to largely rewrite the Win32 capture.
I could just turn on hidpi awareness for the process, but that could cause windows (if any) that belong to the process to redraw
In Windows 10 with a 3840x2160 monitor with "Scale and layout" set to 125% via the Windows Display Settings, a screenshot should have the same dimensions as the physical pixel of the monitor, but instead returns an image that is 3072x1728. Note that if you multiply these incorrect dimensions by 1.25 you get 3840x2160.
The output of the above is:
The expected output, indicating the correct screenshot dimensions, would be:
The captured screenshot image can be written to file via:
The written image has been cropped to the incorrect dimensions.