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

WPEView API to capture a screenshot of the current page #77

Open
zhani opened this issue May 9, 2022 · 1 comment
Open

WPEView API to capture a screenshot of the current page #77

zhani opened this issue May 9, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request priority-medium

Comments

@zhani
Copy link
Contributor

zhani commented May 9, 2022

API to capture a screenshot of the current page (Without having to change the surface). Used to show captures in the tabs UI.

@zhani
Copy link
Contributor Author

zhani commented May 12, 2022

Android system webview had capturePicture() method until API level 19 but it has been deprecated. Now preferred way is to use onDraw(Canvas) to obtain a bitmap snapshot of the webview.
Maybe we should follow onDraw approach as well if possible

@mariospr mariospr added enhancement New feature or request priority-medium labels May 12, 2022
@zhani zhani self-assigned this May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority-medium
Projects
None yet
Development

No branches or pull requests

2 participants