hecomi / uWindowCapture

This allows you to use Windows Graphics Capture / PrintWindow / BitBlt in Windows to capture multiple windows individually and easily use them as Texture2D in Unity.
https://tips.hecomi.com/entry/2021/04/30/230322
MIT License
505 stars 81 forks source link

Maximized windows are cut off on the bottom #16

Open CurtisVL opened 5 years ago

CurtisVL commented 5 years ago

When capturing a maximized window, a few pixels at the bottom of the window are cut off.

I believe this is an issue with Windows returning an incorrect position for the window as using GetWindowRect returns the same size and coordinates uWindowCapture is using.

If you're able to find a solution to this, that would be amazing. :)

hecomi commented 5 years ago

Thank you for the report. I've just come up with a solution and it works well in my environment. Could you check it also in you environment using v0.6.0?

Curtis-VL commented 3 years ago

Sorry, I forgot to close this issue but I believe this issue was resolved!

Please close this issue.