Skip to content

alex-chew/moza

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

moza

A mosaic generator.

Example mosaic

Installation and usage

Pipenv is used for dependency management. After obtaining the repo, install the dependencies, open an environment shell, and run moza.py:

$ pipenv install
$ pipenv shell
$ python moza.py SOURCE TILES TARGET

The TILES argument should be a directory containing images to be used as tiles; they should be square and of the same size, and ideally small (as they are kept in memory to produce the mosaic).

Using the provided sample source.jpg and tiles, saving to target.jpg:

$ python moza.py source.jpg tiles target.jpg

About

Photo-mosaic generator

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages