TEXT2IMAGE IMAGE2TEXT

by Nayid X

Description

Two programs --> Text2Image.py : User loads a .txt file (preferably long i.e. Hamlet, The Bible) and an image (.jpg, .jpeg, .png) then the program embeds the whole text into a resized image, keeping the aspect ratio and storing every character of the text in the alpha channel. The full text is shown in a scrolled text object. In addition, it encrypts the text using a 6-digit random generated number shown to the user. Saves the resulting image in the root directory. Image2Text.py : User loads an image that has been created for Text2Image. The program asks for the password and then de decryption is done. Showing the result in a scrolled text object and allowing the user to save the extracted text into a .txt file in the root directory.