Initial commit. Added base of framework
This commit is contained in:
15
README.md
Normal file
15
README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# What is this
|
||||
A utility which can be used to create custom images for TRMNL devices via code
|
||||
|
||||
# How to write new visual stuff
|
||||
1. Inherit from `Widget` and then do your magic inside your own class.
|
||||
2. Instantiate your widget in `main.cpp` and add it to the vector of widgets.
|
||||
3. ???
|
||||
4. 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`
|
||||
Reference in New Issue
Block a user