PNG::re is a command-line utility for encoding and decoding hidden messages within PNG files.
- Encode secret messages into PNG files
- Decode hidden messages from PNG files
- Remove encoded messages
- Print chunk information from PNG files
- Preserves original image quality and appearance
Clone the repository and navigate to the project directory
git clone https://github.com/RamiE965/pngre
cd pngre
Build using Make
Make
./pngre encode <image.png> <chunk-type> <message> # Encode a message
./pngre decode <image.png> <chunk-type> # Decode a message
./pngre remove <image.png> <chunk-type> # Remove a message
./pngre print <image.png> # Print all "chunks"
# Encode message "Hello World!" with the chunktype "TEST"
./pngre encode image.png TEST "Hello World!"
# Decode the first message associated with the chunktype "TEST"
./pngre decode image.png TEST
# Remove the first message associated with the chunktype "TEST"
./pngre remove image.png TEST
# View all image Chunk information
./pngre print image.png
Run the test suite
./run_tests