xesite/scripts/ditherify

6 lines
158 B
Plaintext
Executable File

#!/usr/bin/env nix-shell
#! nix-shell -p imagemagick -i bash
BASEDIR=$(dirname "$0")
convert $1 -dither FloydSteinberg -remap ${BASEDIR}/gruvbox-dark.png $2