Skip to main content

Encode images in form of text and decode again!!

Project description

first import the package on your terminal with pip:

pip3 install im2txt

next you import the module:

import im2txt

now you just need to encode the image of your preference:


you will receive a pooptest.txt file. This file will have the pixel value of all pixels on the image.

To decode the .txt file back to an image we use:


you will receive the encoded image back again in form of .png!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

im2txt-0.0.2.tar.gz (1.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page