m4tx / txttobitmap

Simple script for converting files to bitmaps

Home Page:https://pypi.python.org/pypi/txttobitmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:
  • input - input file to convert
  • output - output file to save the bitmap as

About

Simple script for converting files to bitmaps

https://pypi.python.org/pypi/txttobitmap

License:MIT License


Languages

Language:Python 100.0%