This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| """ | |
| Script to generate BMP images used by waveshare's ESP32-S3-PhotoPainter | |
| ESP32-S3-PhotoPainter: https://www.waveshare.com/wiki/ESP32-S3-PhotoPainter | |
| Forked from waveshare's color tool: https://files.waveshare.com/wiki/common/ConverTo6c_bmp-7.3.zip | |
| with changes: | |
| - Rotate automatically. | |
| - Adopted epdoptimize's real-world colors: https://github.com/Utzel-Butzel/epdoptimize |