Creating image from data

Hi!

This might be XY problem here, but I want to be able to generate image with data from Home Assistant and make it available on local network.

(BMP, 8bit depth, 300x400 pixels)

For example I want to generate black and white image with analogue clock (optional) and temperature and weather data refreshed every minute or so.

Then I can just use simple download and display program running on ESP32 to display this image on E-Ink display refreshing every minute or so (made it already).

I’ve seen similar project but it needed assets to be on ESP32 and all formatting was done on ESP32.
What I want is to have all logic on HA and ESP32 being just simple E-INK display.