txttobitmap
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:
palette - use 16 color palette (see: Windows 16-color palette on Wikipedia) and represent each byte as two pixels
grayscale - represent each byte as grayscale pixel
input - input file to convert
output - output file to save the bitmap as
Metadata
Release files for txttobitmap 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| txttobitmap-1.0.1.tar.gz | 3.0 kB | Without provenance | Details for txttobitmap-1.0.1.tar.gz |
Release files / txttobitmap-1.0.1.tar.gz
| Download URL | txttobitmap-1.0.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e61fb0ce5f0bd5484ba4766125eb95bd2d13a13b51d1c89c2f7df1c754f083a3
|
|
BLAKE2b-256 checksum How to use checksums |
e71fae259c9ece0c82db4a14c8c7b87763a870e9db7b6fdd8fd0238daae811db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for txttobitmap 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.