This tool generates a png from a Home Assistant Lovelace view, which can be displayed on a Kindle device which has the Online Screensaver plugin installed.
In index.js, you swap width and height if rotating, but then use the original widht/height in the addStyleTag call. If you use size.width in place of pageConfig.renderingScreenSize.width around line 160 (and similar for .height) it works better.
In index.js, you swap width and height if rotating, but then use the original widht/height in the addStyleTag call. If you use size.width in place of pageConfig.renderingScreenSize.width around line 160 (and similar for .height) it works better.