Lightweight tools that I use to serialize indexed images and font glyphs for use with YOKAI and other micropython-based stuff that sports an e-paper display.
Yokai-Image comes with three components:
- A decoder for binary
.yi
files, written solely in standard library python to ensure compatibility with micropython. - A set of utilities for encoding, data wrangling and displaying to use with standard CPython (this does utilize non-standard lib packages).
- A webapp powered by streamlit to both encode and view sets of images or fonts into
.yi
files.
Copy yokai_image.py
to your microcontroller, import yokai_image
and hope that by then I've documented the decoder.
TODO
streamlit streamlit_app.py
or use the app on streamlit.io.
For more info on the .yi
format check out the specifications.
I'm using micropython, does it look like I make good decisions? 🤷♂️