Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I take screenshots based on the specified hwnd #87

Open
woshiagan opened this issue Mar 16, 2024 · 1 comment
Open

How can I take screenshots based on the specified hwnd #87

woshiagan opened this issue Mar 16, 2024 · 1 comment

Comments

@woshiagan
Copy link

I obtained hwnd through Win32, but I want to use dxcam to take a screenshot. If I obtain a screenshot through hwnd

@lovettchris
Copy link

lovettchris commented Jul 18, 2024

https://github.com/lovettchris/wincam supports this. See the mirror.py script which takes an --hwnd argument, you can also specify a process id, or a point on the screen from which to find the window to capture (which can be handy in cases where the hwnd is hard to find).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants