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

Getting context #1932

Closed
adam-cyclones opened this issue Jul 12, 2019 · 1 comment
Closed

Getting context #1932

adam-cyclones opened this issue Jul 12, 2019 · 1 comment

Comments

@adam-cyclones
Copy link

I am making composite UI effects such as realtime blur using the latest version.

Example: https://codepen.io/acronamy/pen/XLoVbR

I am looking for a way to apply ctx.filter blur to the canvas context before rendering. How can I get the 2d context?

@niklasvh
Copy link
Owner

You could create the canvas yourself, and pass it as an option to html2canvas. #2017 fixes the use of that option

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