Closed
Description
I followed the guide ( https://learn.adafruit.com/saving-bitmap-screenshots-in-circuitpython/overview ) to take a screencapture.
However the result does not match exactly what is in screen.
My code to demonstrate this problem is in this repo:
https://github.com/dglaude/CircuitPython_MLX90640_PyGamer_Plus
- mlx90640_pygamer_plus+sd.py is the program that use BitmapSaver.
- Photo_of_screen.png is the kind of thing displayed on the screen.
- screen.bmp is the offending image generated.
I believe there are two problems with the above image:
- The last column of pixel from the picture are duplicated to the edge.
- The three temperature (min, center, max) are not text but colour blob.
Unfortunately this code require a MLX90640 thermal camera, but I am sure the camera output can be faked to trigger this problem without that hardware.
PS: Notice that 'picture.bmp' is an OK output, but that specify a bitmap and a palette (rather that full screen version without those parameter).