xesite/scripts/ditherify

6 lines
158 B
Plaintext
Raw Permalink Normal View History

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