Skip to content

Lightweight tools to serialize images & fonts for e-paper displays and micropython

License

Notifications You must be signed in to change notification settings

mrmattuschka/yokai-image

Repository files navigation

YOKAI-Image

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.

Installation & Usage

On a microcontroller running micropython (decoder only):

Copy yokai_image.py to your microcontroller, import yokai_image and hope that by then I've documented the decoder.

Locally on a PC:

TODO

Run the Streamlit app:

streamlit streamlit_app.py or use the app on streamlit.io.

The YOKAI Image format: .yi

For more info on the .yi format check out the specifications.

Why this and not [existing solution]?

I'm using micropython, does it look like I make good decisions? 🤷‍♂️

About

Lightweight tools to serialize images & fonts for e-paper displays and micropython

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages