diff --git a/lib/builder-utils.sh b/lib/builder-utils.sh index 3b0226a..97c11ed 100644 --- a/lib/builder-utils.sh +++ b/lib/builder-utils.sh @@ -193,11 +193,11 @@ convert_image() { # create the matte if [ `convert | grep Version | awk '{print $3}' | sed "s/-.*//" | sed "s/\.//g"` -le 670 ] ; then - convert $OUTPUT_DIR/removed_black.png -channel matte -separate +matte \ - $OUTPUT_DIR/matte.png + convert $OUTPUT_DIR/removed_black.png -channel matte -separate +matte \ + $OUTPUT_DIR/matte.png else - convert $OUTPUT_DIR/removed_black.png -channel matte -negate -separate +matte \ - $OUTPUT_DIR/matte.png + convert $OUTPUT_DIR/removed_black.png -channel matte -negate -separate +matte \ + $OUTPUT_DIR/matte.png fi # negate the colors