This commit is contained in:
root 2017-06-21 20:16:27 +02:00
parent 4b0f8db334
commit 897137d111

View file

@ -9,7 +9,7 @@ convert $1 /tmp/logo.jpg
else else
cp $1 /tmp/logo.jpg cp $1 /tmp/logo.jpg
fi fi
jp2a --background=dark --invert --colors /tmp/logo.jpg --output=/tmp/logo.txt jp2a $2 --background=dark --colors /tmp/logo.jpg --output=/tmp/logo.txt
while IFS= read -r line; do while IFS= read -r line; do
echo "echo -e \"$line\"" echo "echo -e \"$line\""
done < /tmp/logo.txt done < /tmp/logo.txt