correct coding style
This commit is contained in:
parent
ab21cfc255
commit
33ebcc84bc
@ -193,11 +193,11 @@ convert_image() {
|
|||||||
|
|
||||||
# create the matte
|
# create the matte
|
||||||
if [ `convert | grep Version | awk '{print $3}' | sed "s/-.*//" | sed "s/\.//g"` -le 670 ] ; then
|
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 \
|
convert $OUTPUT_DIR/removed_black.png -channel matte -separate +matte \
|
||||||
$OUTPUT_DIR/matte.png
|
$OUTPUT_DIR/matte.png
|
||||||
else
|
else
|
||||||
convert $OUTPUT_DIR/removed_black.png -channel matte -negate -separate +matte \
|
convert $OUTPUT_DIR/removed_black.png -channel matte -negate -separate +matte \
|
||||||
$OUTPUT_DIR/matte.png
|
$OUTPUT_DIR/matte.png
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# negate the colors
|
# negate the colors
|
||||||
|
Loading…
Reference in New Issue
Block a user