A command-line interface based program for Image Steganography.
It uses Least Significant Bit(LSB) algorithm for Image Steganography.
-
Install Open-CV : Make sure that latest version of Open-CV is installed on your machine. Refer this repository for installation.
-
Compile the program :
$ cd ImageSteganography
$ chmod +x make_encode
$ chmod +x make_decode
$ ./make_encode
$ ./make_decode
- Place your normal .png image in the Images directory.
- Place your .txt file with the secret message in TextFiles directory.
- How to Encode the message
$ ./encode Images/input_image.png TextFiles/text_file.txt Images/output_image.png
A new image will be created in your Images directory with the secret message hidden in it.
- How to Decode the message
$ ./decode Images/output_image.png
The hidden message will be displayed on your console.