diff options
author | Romain Gonçalves <me@rgoncalves.se> | 2021-09-19 14:53:31 +0200 |
---|---|---|
committer | Romain Gonçalves <me@rgoncalves.se> | 2021-09-19 14:54:23 +0200 |
commit | 459a48f299c188bbfc024fe14657e3d4802a0b6b (patch) | |
tree | aaed5d3ea5ea2f2ef596e3743d2395b5fe55841a /bin | |
parent | 1a694966454c5ef3baa5ff831e2671a5a964ce7e (diff) | |
download | rgoncalves.se-459a48f299c188bbfc024fe14657e3d4802a0b6b.tar.gz |
src: September sync
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/picc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/picc b/bin/picc new file mode 100755 index 0000000..f25d6d9 --- /dev/null +++ b/bin/picc @@ -0,0 +1,9 @@ +#!/bin/sh + +set -xe + +[ ! -f "${1}" ] +[ -f "${2}" ] +[ -n "${3}" ] + +convert "${2}" -dither Riemersma -colors 16 "${3}" |