pboyd / mosaic

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mosaic

Generates images from many small tiles.

Here's an example:

Go Gopher

(click to enlarge)

This was generated with:

./mosaic -image gopher.png -tiles gophers/ -tile-width 50 -tile-height 70 -blend

Usage

  • Ensure a recent version of Go is installed.
  • Clone this repo
  • Inside this project's directory run: go build ./cmd/mosaic
./mosaic -image source.jpg -out output.jpg -tiles path/to/tile/images

Credit

In addition to the Go standard library, this program also uses the following modules. Many thanks to their authors.

For the example image:

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Go 100.0%