ESP8266 demo without download compression
We use composer to install php dependences. Just go to the screenshot folder and run:
That's it. It will create vendors folder and download all required libraries. Make sure the other scripts reference this vendor/autoload.php with the right path.
Google calendar reader
In the directory screenshot/g_calendar you can find a very easy and configurable example to generate a webpage with your google calendar:
The single file php script needs two things to work. First :
That is the responsible to take a website screenshot and return an image. And after this the php-imagick extension that in most Linux servers you can get installed with one command line.
Imagick is a PHP extension to create and modify images using the ImageMagick library. You can use also a different library to convert the image to BMP like :
As long as the output is a 1 or 4 bits depth BMP image. The firmware will read also a 24 bits depth image but is unnecessary large when we just want to render a monochrome image.
I find the two colours eink that I've tested very slow compared to the only black ink models. So the firmware can support with gxepd library two color models but is up to you to implement it.