Install libpng
:
-
Debian, Ubuntu
sudo apt-get install -y libpng-dev
-
CentOS, Fedora, RedHat
sudo yum install libpng-devel
git clone https://github.com/jweyrich/imgify.git
cd imgify
make
If you're on macOS, you need to install libpng using Homebrew and run make
using some extra flags. Example:
CFLAGS="-I$(libpng-config --prefix)/include" LDFLAGS="-L$(libpng-config --prefix)/lib" make
usage: bin2png -i <in_filename> -o <out_filename> [-p <pad_byte>]
usage: png2bin -i <in_filename> -o <out_filename> [-p <pad_byte>]
imgify is distributed under a GPL V2 licence. See the LICENSE file for more information.