feat: Add screenshot functionality#1258
feat: Add screenshot functionality#1258atlanticaccent wants to merge 8 commits intotauri-apps:devfrom
Conversation
db90c84 to
fb8e6ab
Compare
|
I'm getting an This is crashing on
Thanks for your work here! |
Hi! Yes, I pretty much gave up on the macOS implementation and in my own project currently have it disabled entirely. I believe I did have the "newer" version working at some point and lost it, or it might actually work right now but require granting the running application an Accessibility permission so it can capture properly - possibly both. Either way, the performance is also catastrophic using either method, which further contributed to me abandoning the work. I've since had some ideas about alternatives (grabbing the window handle and using something like |
Based on work in PR #226 - adds screenshot functionality to macOS, linux and Windows. Android is unsupported.
Compared to 226, this PR does not include the region selection functionality. This comment in the Webview2 repo indicates that it may now be possible to have parity across all three platforms in selecting regions, and so make it worthwhile to re-add.
This PR does not (yet) improve on the API presented in 226.