From eb8a896865a6f3dbb5e3680c43ae408e29176ae4 Mon Sep 17 00:00:00 2001 From: lamp Date: Fri, 29 Dec 2023 23:32:34 +0000 Subject: initial dsw_mixin stuff --- convert.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 convert.sh (limited to 'convert.sh') 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" -- cgit v1.2.3