CW_stegano

A fun little python script that encodes and decodes strings and images Patch #2: there were some errors with the v1.0.5, this patch should fix those errors.


License
Other
Install
pip install CW_stegano==1.0.7

Documentation

CW_stegano

PyPI
A fun little python script that encodes and decodes strings and images

(derived from steganography)

Installation

Windows

py -m pip install CW_stegano

Linux

sudo pip3 install CW_stegano

Usage

Encoding

This is easiest with an example:

import steganography as steg

img = steg.text_image("hello world.")
# read steg.text_image.__doc__ for more info.
# Note : this will also print a bunch of status updates and info on the computation

quiet_img = steg.text_image("When this image is created, there will be no printing",print_status=False)
# since print_status is set to false, the function will 
# not do all of its regular prints. (the default of print_status is True)

img.show()
# this is really more of a PIL function,
# but it's relevant that you should see the image that's created.

Decoding

The most important part of this, is that the input for the function is a PIL.Image object generated by steganography.text_image()

import steganography as steg
img = steg.text_image("decode me!")

text = steg.decode_image(img)
print(text)