Update user scripts

This commit is contained in:
Willy-JL
2023-03-25 04:19:14 +00:00
parent 8d174634f6
commit 64000fec40
6 changed files with 30 additions and 68 deletions

View File

@@ -6,20 +6,11 @@ icondecode.py
A set of python3 scripts for processing the Flipper image files.
These work as-is but I am rolling in improvements.
#####################################
PREREQUISITES
You'll need heatshrink installed - a small embedded/RTOS compression and decompression library
You can get that here https://github.com/atomicobject/heatshrink
#####################################
HOW TO USE
##
# decode.
Decode a .mb into .xbm:
Decode a .bm into .xbm:
decode.py input_image output_image [width] [height]
Dimensions are not stored in .bm so you need to specify
If you have the meta.txt available for the animation set the dimensions will be in here.
@@ -29,7 +20,7 @@ If you do not enter anything here it will assume 128x64. THIS WILL NOT ALWAYS BE
##
# encode
Encode an .xbm file into .xb
Encode an .xbm file into .bm
encode.py input_image output_image
You will also get the image dimensions for use in meta.txt
That's it.