#!/bin/bash # taken from https://stackoverflow.com/a/5846727 gimp -n -i -b - <