Fetching contributors…
Cannot retrieve contributors at this time
37 lines (23 sloc) 1.05 KB


Install Go 1.8+, git, and VIPS 8.4.6+.

If you haven't used Go before, first create a source tree for your Go code:

mkdir -p $HOME/go/src
export GOPATH=$HOME/go

On OSX, you can install all of the dependencies with Homebrew:

brew install go git homebrew/science/vips

On most Linux flavors, you can install Go and VIPS with the script:

git clone $GOPATH/src/
cd $GOPATH/src/
sudo ./

Then for all OSes:

go get -u

And you'll end up with the executable:$GOPATH/bin/fotomat


Alternatively if you use Docker, there's a Dockerfile which is used to build an up-to-date Docker image. Fetch it with:

docker pull dienet/fotomat:latest