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.

Files for im2txt, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size im2txt-0.0.3.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page