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.3.tar.gz (1.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page