levikanwischer / Legofy

Make images look as if they are made out of 1x1 LEGO blocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Legofy

Build Status PyPI Downloads PyPI version License Coverage Status Code Health Join the chat at https://gitter.im/JuanPotato/Legofy

Legofy is a python package and command line utility that takes a static image or gif and makes it looks as though it was constructed out of lego bricks.

Before After

Getting Started

To install the latest stable version from PyPI, run pip install legofy.

For the bleeding edge version, run pip install git+https://github.com/JuanPotato/Legofy.git.

Usage

Usage: legofy [OPTIONS] IMAGE OUTFILE

  Legofy an image!

Options:
  -s, --size INTEGER              Number of brick the longest side should be
                                  legofied to.
  -p, --palette [solid|mono|all|transparent|effects]
                                  Lego Palette to be used when converting
                                  colors.
  --dither / --no-dither          Use `dither` color approximation algorithm?
  --help                          Show this message and exit.

Issues

Bugs are tracked as Issues on Github. If you find a bug, verify an issue doesn't already exist before opening a new one. When creating an issue make sure to provide repo steps & a clear description to ensure the issue is understood.

Forks

About

Make images look as if they are made out of 1x1 LEGO blocks

License:MIT License


Languages

Language:Python 100.0%