← Back to context

Comment by fuzzy2

2 months ago

Actually Chrome does everything. Not via command-line switches however, you need to use the DevTools protocol. For example using Playwright. You get PDFs and PNGs of any size and resolution (PPI).

And I guess this is exactly what this service does under the hood.

This is interesting. If I have DevTools open, is there JS I can run to execute the PNG generation?