This file contains 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
""" | |
Convert IMAGE based fonts to uint16_t. | |
Code to convert BITMAP or IMAGE based fonts to fonts | |
for use on the 2017 SIGNAL Hackpack. Characters must be in the form of 4x4 | |
pixels. Please pad smaller fonts to 4x4 pixel blocks. | |
By convention, it should be in ASCII order and start with the 'space' | |
character: http://www.asciitable.com/ (see the example png) | |
Install PIL or PILLOW (perhaps 'pip install pillow'?) and run with: |
This file contains 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
""" | |
Convert animated gifs to uint_32t encoded colors for use on the Hackpackv3. | |
Got a Hackpackv3? Here's an easy way to convert animated gifs or | |
movies into encoded 4x4 images; you can directly use this in the .ino | |
file to overwrite the 'custom_animation_lut' | |
Sample use (bash example, change for your platform): | |