diff options
| author | Christine Dodrill <me@christine.website> | 2021-10-20 12:43:26 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-20 12:43:26 -0400 |
| commit | 914174bae1b3c3857709a2d213ea0a17d6a96b87 (patch) | |
| tree | 6b3ae9b9b0b09987134ecf742b7ce8a5ae7a3cf3 /scripts/ditherify | |
| parent | 0979a248b013741110f2fed8ca8eebf1878b7acc (diff) | |
| download | xesite-914174bae1b3c3857709a2d213ea0a17d6a96b87.tar.xz xesite-914174bae1b3c3857709a2d213ea0a17d6a96b87.zip | |
change (#407)
Signed-off-by: Christine Dodrill <me@christine.website>
Diffstat (limited to 'scripts/ditherify')
| -rwxr-xr-x | scripts/ditherify | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/ditherify b/scripts/ditherify new file mode 100755 index 0000000..9277f96 --- /dev/null +++ b/scripts/ditherify @@ -0,0 +1,5 @@ +#!/usr/bin/env nix-shell +#! nix-shell -p imagemagick -i bash + +BASEDIR=$(dirname "$0") +convert $1 -dither FloydSteinberg -remap ${BASEDIR}/gruvbox-dark.png $2 |
