/imagegrid

👩‍🎨 A CLI tool for stitching multiple images together

Primary LanguageGo

imagegrid

imagegrid is a CLI tool which stitches multiple images into a single image, with a margin around each.

Example

Given two images, cat-1.jpg:

Cat 1

And cat-2.jpg:

Cat 2

Comibe them into a new image:

$ imagegrid cat-1.jpg cat-2.jpg
$ ls
imagegrid-image-2019-09-22.png

Combined

API

$ imagegrid -h
Usage of imagegrid:
  -margin float
        margin size (percentage) (default 5)
  -output-filename string
        name of the file to save the image to (default "imagegrid-image-<date>.png")

Why?

At work, I often need to post a series of screenshots of the Monzo app to Slack - stitching them together into a single image seems to be the easiest way to do this.

TODO

  • [ ]: Center each image in its row/col