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.

Source Distribution

txttobitmap-1.0.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file txttobitmap-1.0.1.tar.gz.

File metadata

  • Download URL: txttobitmap-1.0.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for txttobitmap-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e61fb0ce5f0bd5484ba4766125eb95bd2d13a13b51d1c89c2f7df1c754f083a3
MD5 c09e9d0f19254f7e822a130fa10829d0
BLAKE2b-256 e71fae259c9ece0c82db4a14c8c7b87763a870e9db7b6fdd8fd0238daae811db

See more details on using hashes here.

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