Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
/ png2xbm Public archive

Convert multiple png2xbm and create header file for c/c++

Notifications You must be signed in to change notification settings

adriabama06/png2xbm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Install:

Linux:

sudo apt install imagemagick
sudo apt install nodejs

git clone https://github.com/adriabama06/png2xbm.git

cd png2xbm

node png2xbm.js --help

Windows

git clone https://github.com/adriabama06/png2xbm.git

cd png2xbm

node png2xbm.js --help

Example usage:

node png2xbm.js --input example/ --output out/ --header myheader.h -x 128 -y 53

Example --help menu:

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

What is this for?

This is for: https://github.com/ClubmakerCanFabra/globus_sonda.git for use it to create animations for Heltec LoRa 32

About

Convert multiple png2xbm and create header file for c/c++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published