pascalw / kindle-dash

Power efficient dashboard for Kindle 4 NT devices
MIT License
1.21k stars 34 forks source link

Render to png #16

Closed kiru closed 3 years ago

kiru commented 3 years ago

Hello,

You mention:

In my case I use a dashbling dashboard that I render into a PNG screenshot on a server.

What do you use to render the dashbling output to PNG?

Thank you very much for this project!

Cheers, Kiru

pascalw commented 3 years ago

Hi Kiru! I'm using a headless Chrome browser using Puppeteer. I've put some information and a bit of code up here.

kiru commented 3 years ago

Thank you, I missed that page initially. Ended up doing it with python (same principle as above) and convert the screenshot via ImageMagick

pascalw commented 3 years ago

Thanks for your feedback. Indeed it wasn't linked in the README. I've now added it to the README.