599 B
599 B
What is this
A utility which can be used to create custom images for TRMNL devices via code
How to write new visual stuff
- Inherit from
Widgetand then do your magic inside your own class. - Instantiate your widget in
main.cppand add it to the vector of widgets. - ???
- Profit
ImageMagick commands
Convert image without dithering
magick input.png -monochrome -colors 2 -depth 1 -strip png:output.png
Convert image with dithering
magick input.png -dither FloydSteinberg -remap pattern:gray50 -depth 1 -strip png:output.png
Notes
json.hpp from nlohmann/json v3.11.2