sudo apt install imagemagick
sudo apt install nodejs
git clone https://github.com/adriabama06/png2xbm.git
cd png2xbm
node png2xbm.js --help
-
Install ImageMagick
-
Install NodeJS
git clone https://github.com/adriabama06/png2xbm.git
cd png2xbm
node png2xbm.js --help
node png2xbm.js --input example/ --output out/ --header myheader.h -x 128 -y 53
Usage: node png2xbm.js --input FOLDER --output FOLDER
Arguments:
(Optional) --help, -help, --h, -h : Show this menu
(Optional) --header, -header : Output of the header file for C/C++ animation
(Optional if --header is not used) --x, -x : Images x resolution
(Optional if --header is not used) --y, -y : Images y resolution
(Optional) --remove, -remove, --r, -r : Remove output folder (recomended if you use --header for automatic remove output folder)
--input, -input, --i, -i : Input folder where have the .png images
--output, -output, --o, -o : Output folder where the .xbm file will be saved
This is for: https://github.com/ClubmakerCanFabra/globus_sonda.git for use it to create animations for Heltec LoRa 32