diff options
author | lamp | 2023-12-29 23:32:34 +0000 |
---|---|---|
committer | lamp | 2023-12-29 23:32:34 +0000 |
commit | eb8a896865a6f3dbb5e3680c43ae408e29176ae4 (patch) | |
tree | 82eeb300be148a987d26aefd6c2c7afb2a92f541 /convert.sh | |
parent | b3bb54ca9cdcca60adb401fd69278a12d8fd367a (diff) |
initial dsw_mixin stuffmain
Diffstat (limited to 'convert.sh')
-rwxr-xr-x | convert.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/convert.sh b/convert.sh new file mode 100755 index 0000000..2a5072e --- /dev/null +++ b/convert.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +size=512x512 + +convert "$1" -background white -flatten -alpha off -fx '(r+g+b)/3' -colorspace Gray -resize "$size" -gravity center -extent "$size" "$2" |