From 4ff45e8535019edf38b57ed4a51979b9c5481a3b Mon Sep 17 00:00:00 2001 From: mmattmcw Date: Tue, 10 Aug 2021 18:06:57 -0400 Subject: [PATCH] White script was layering backwards --- white.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/white.sh b/white.sh index 2e777be..e7e6682 100644 --- a/white.sh +++ b/white.sh @@ -11,7 +11,7 @@ HEIGHT=374 #convert image.jpg -background white -gravity center -extent 800x800 output.jpg convert -size ${WIDTH}x${HEIGHT} xc:#FFFFFF white.png -composite -gravity Center white.png "${1}" "${2}" +composite -gravity Center "${1}" white.png "${2}" rm white.png echo "Centered in white ${1} -> ${2}" \ No newline at end of file