Skip to content

Latest commit

 

History

History
39 lines (21 loc) · 857 Bytes

README.md

File metadata and controls

39 lines (21 loc) · 857 Bytes

imgify - Convert any file to PNG and back

Screenshot

Install dependencies

Install libpng:

  • Debian, Ubuntu

    sudo apt-get install -y libpng-dev

  • CentOS, Fedora, RedHat

    sudo yum install libpng-devel

Get the source and compile

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

usage: bin2png -i <in_filename> -o <out_filename> [-p <pad_byte>]

png2bin

usage: png2bin -i <in_filename> -o <out_filename> [-p <pad_byte>]

License

imgify is distributed under a GPL V2 licence. See the LICENSE file for more information.