Skip to main content

Simple script that converts given file to a bitmap

Project description

Simple script that converts given file to a bitmap.

The project emerged as a result of wondering “How to compress long text into a form that does not look scary for a human being?”. While the generated images are obviously useless, it’s still fun to play around with them.

Requirements

  • Python 3.2+

Installation

pip install txttobitmap

Usage

txttobitmap --mode {palette,grayscale} input output
  • mode - one of the values:
  • input - input file to convert
  • output - output file to save the bitmap as

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 txttobitmap, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size txttobitmap-1.0.1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View

Supported by

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