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

screenshoting #24

Open
mal1ceee opened this issue Oct 20, 2023 · 4 comments
Open

screenshoting #24

mal1ceee opened this issue Oct 20, 2023 · 4 comments

Comments

@mal1ceee
Copy link

hi there, i was wondering if there is any implementation of this that takes in the window handle and screenshot the provided window?

@DarthAffe
Copy link
Owner

No, all data is copied out of the front-buffer. It's not possible to capture specific windows. (Aside from capturing a region using the boundries of the window.)

@mal1ceee
Copy link
Author

So theoretically I could screenshot a specific window given the boundaries?

@DarthAffe
Copy link
Owner

As long as it is in foreground yes. You'd basically take a image of your screen and cut that region out.

@mal1ceee
Copy link
Author

ah thanks :)

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