-
Notifications
You must be signed in to change notification settings - Fork 68
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
Capture a subset of screen #33
Comments
Same question here. |
assuming you know (top, left, width, height) of the area, you can change the example to limit the bytes stored in data array to those in the area:
|
@snaumov Yep, that's what I wanted to try first. However, is this the most efficiently approach? It takes a screenshot of the whole screen and then crop to get the area we want. Does the underlying APIs support take screenshot of a specific area directly? |
Hi,
From the api, it was not clear to me how to get a subset of screen.
For example, I want to a bounding box 200x200 px captured at the center of my display.
How should I go about using the api?
Best,
The text was updated successfully, but these errors were encountered: