This small python script will encode files in PNG images (or any other losslessly compressed image format.)
This script reqiures pillow and argparse, both of which can be installed from pypi using
pip install pillow argparse
You can encode a file in an image by first passing the image you want the end result to look like, followed by the -e option and the file you want to encode. You can also specify the output path with -o
steg.py testData/cutestcat.png -e testData/test.png -o encoded.png
You can also decode from an encoded image by just passing the encoded image to the file, then specifying an output path with -o
steg.py encoded -o out