imagegrid

Package imagegrid enables composing one or more images into a single image,
using a tiled grid pattern. MIT Licensed.
Example
The cmd/gophergrid utility demonstrates usage of package imagegrid,
by generating a tiled grid of Go gophers.
$ gophergrid -h
Usage of gophergrid:
-n int
number of images per row or column (default 5)
By default, gophergrid will print a PNG image to stdout.
It is recommended to redirect stdout to a file or pipe.
$ gophergrid -n 5 > gopher.png

The Go gopher was designed by Renee French. (http://reneefrench.blogspot.com/)
The design is licensed under the Creative Commons 3.0 Attributions license.
Read this article for more details: https://blog.golang.org/gopher