Go-Mosaic is a mosaic creator written in Go.
This was written as an entry for Go Challenge 3.
go get github.com/valentine/go-mosaic/
go-mosaic -input="input.jpg" -output="output.jpg" source="photodirectory" -tile=16
input: Path of input image (used to create mosaic)
output: Path of output image (defaults to output.jpg)
source: Directory for source images (defaults to photos/)
tile: Size of tiles in output image (higher numbers process faster, but images will have less resolution) (defaults to 16)
Original file — 5,616 x 3,744 (23.2MB)
Default tile setting (tile=16)
This took 88 minutes to generate on a 2013 MacBook Pro — 100% crop of output image
Custom tile setting (tile=32)
This took 29 minutes to generate on a 2013 MacBook Pro — 100% crop of output image
Code licensed under The MIT License (MIT).
Images used in the examples are property of their respective copyright owners, and are for educational purposes only.