Clone pngme
to your machine using git
git clone https://github.com/EstebanBorai/pngme.git
The cd
into the pngme
directory and run cargo install
cd pngme/ && cargo install
Then you are ready to use it by just calling pngme
,
refer to Commands section for extra details on
available commands.
pngme encode <FILE_PATH> <CHUNK_TYPE> <MESSAGE>
Example:
pngme encode ./myfile.png sEcr "Hello, this is a PNG file secret"
pngme decode <FILE_PATH> <CHUNK_TYPE>
Example:
pngme decode ./myfile.png sEcr
pngme remove <FILE_PATH> <CHUNK_TYPE>
Example:
pngme remove ./myfile.png sEcr
pngme print <FILE_PATH>
Example:
pngme print ./myfile.png