600 B
600 B
Tips & tricks
Producing dashboard images from a webpage
A common way to produce dashboard images for the Kindle is to take a screenshot of a website. This can be done in a variety of ways. A few things to keep in mind are:
- The images should be grayscale PNG images, without any alpha layers.
- The resolution should match the display resolution of the Kindle. For example the Kindle 4 NT has a resolution of 800x600 pixels.
I personally use a headless Chrome instance with Puppeteer. The code I use can be found here as a reference.