-
Notifications
You must be signed in to change notification settings - Fork 5
Remove puppeteer and switch to headless rendering to png #1258
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than a tiny bit of rasterization these all look fantastic!
Is the rasterization deterministic so it won't make the test fail when comparing the output? It should be, right? |
Yeah, I can't quite figure it out, except that perhaps it's related to devicePixelRatio causing the browser to oversample. |
I hope so, but mostly I wanted to (a) remove the dependency on pupeteer, and (b) support thumbnail generation. So now we should be able to say shape.png('foo') and be able to get a png of that view of shape. |
No description provided.