White script was layering backwards

This commit is contained in:
Matt McWilliams 2021-08-10 18:06:57 -04:00
parent 242c0bbbf7
commit 4ff45e8535
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ HEIGHT=374
#convert image.jpg -background white -gravity center -extent 800x800 output.jpg #convert image.jpg -background white -gravity center -extent 800x800 output.jpg
convert -size ${WIDTH}x${HEIGHT} xc:#FFFFFF white.png 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 rm white.png
echo "Centered in white ${1} -> ${2}" echo "Centered in white ${1} -> ${2}"