https://github.com/tusharsadhwani/steganography
A steganographic image encoder and decoder written in Python3.6
https://github.com/tusharsadhwani/steganography
python steganography
Last synced: 3 months ago
JSON representation
A steganographic image encoder and decoder written in Python3.6
- Host: GitHub
- URL: https://github.com/tusharsadhwani/steganography
- Owner: tusharsadhwani
- Created: 2019-08-07T11:40:01.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-09-23T17:32:13.000Z (almost 4 years ago)
- Last Synced: 2025-02-11T14:51:19.554Z (5 months ago)
- Topics: python, steganography
- Language: Python
- Homepage:
- Size: 3.79 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# image-encode
A steganographic image encoder and decoder written in Python3.6
## Installation
Open a terminal and type:
```bash
git clone https://github.com/tusharsadhwani/image-encode.git
cd image-encode
pip install -r requirements.txt
```## How to run
1. Encoding
Copy an image file to the `/image-encode` directory (or use the provided `dog.jpg` image)
Then run:
```bash
python encode.py --image=dog.jpg --text=encode.txt
```(replace `dog.jpg` with your image name and `encode.txt` with any ASCII text file)
This will create an image named `encoded-dog.png`, which will have the message encoded in it.1. Decoding
```bash
python decode.py --image=encoded-dog.png
```this will create a textfile named `dog.txt`, whose contents should be identical to `encode.txt`