commit f82f8b91820c5c5b2208fb80c0f8bd7f15081453
parent d755c0853fef0abe3095cbf9701461933ab68c56
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 13 Jan 2020 14:37:33 +0100
create_pocketbook_logo: change device name
Former-commit-id: 00bc4ef7d8933c493b4c7510aa17e90cf1205525
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/create_pocketbook_logo b/scripts/create_pocketbook_logo
@@ -39,13 +39,13 @@ eval set -- "$PARAMS"
[ -z "$outfile" ] && echo "No output file supplied." >&2 && exit 1
[ -z "$1" ] && echo "No file supplied.">&2 && exit 1
-[ -z "$palette" ] && ! [ -d /Volumes/Pocket603 ] && echo "No palette present.">&2 && exit 1
+[ -z "$palette" ] && ! [ -d /Volumes/PB627 ] && echo "No palette present.">&2 && exit 1
convert "$1" \
-background white \
-alpha remove \
-depth 8 \
-colors 256 \
-type grayscale \
- -remap "${palette:-/Volumes/Pocket603/system/logo/1_st.603.bmp}" \
+ -remap "${palette:-/Volumes/PB627/system/logo/1_st.603.bmp}" \
-dither FloydSteinberg \
-compress none BMP3:"$outfile"