pcirujeda / mosaiic

A very simple ASCII art generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mosaiic

This is just a Python image-to-ASCII-based-mosaic generator, with some customizable options.

Masciihorn

Requirements

Only Pillow is required. A requirements.txt file is provided.

If you use this under Linux, make sure libfreetype6-dev is available in your system so Pillow can use truetype fonts. For apt-based distros, use:

sudo apt-get install libfreetype6-dev

Usage

./mosaiic  --input-image INPUT_IMAGE   Input image file
          [--font FONT.ttf]            Font typeset file (default to Ubuntu Monospace)
          [--font-size N]              Font size in pt (default = 18)
          [--bg R G B]                 Background RGB color. Default to black
          [--fg R G G]                 Foreground RGB color. If unspecified, will color chars with image values.
          [--scale X]                  Output rescale (default = 1.0)
           --output OUTPUT_IMAGE       Output ASCII mosaic

About

A very simple ASCII art generator


Languages

Language:Python 100.0%