smasherprog / screen_capture_lite

cross platform screen/window capturing library
MIT License
619 stars 156 forks source link

Black screenshots in full screen mode #66

Closed vkhizanov closed 5 years ago

vkhizanov commented 5 years ago

I tried to capture sceenshots from League of Legends window and it works only in windowed mode, while fullscreen mode dumps black images. Should I workaround fullscreen mode somehow or it should work out of the box? In the latter case I'll provide more info to reproduce the bug.

smasherprog commented 5 years ago

hmm I have never tried this before Ill check this out later today and see if I can get it fixed. Your on windows, right?

vkhizanov commented 5 years ago

Your on windows, right?

Yes. Thanks!

smasherprog commented 5 years ago

Can you debug this and check out if ThisDesc and see if the height and width are different than the SelectedMonitor height width? If they are different, try commenting out lines 333 and 334 to see if it starts working

smasherprog commented 5 years ago

I just tested this out playing starcraft II full screen mode and it worked as expected. Since I cannot reproduce this you will need to do a little debugging that I can guide you through.

smasherprog commented 5 years ago

Closing due to lack of activity. If you have more info to provide please add it