White script was layering backwards
This commit is contained in:
parent
242c0bbbf7
commit
4ff45e8535
2
white.sh
2
white.sh
|
@ -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}"
|
Loading…
Reference in New Issue