[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-taler-mdb] 01/02: use 8-bit colour to reduce size
From: |
gnunet |
Subject: |
[taler-taler-mdb] 01/02: use 8-bit colour to reduce size |
Date: |
Sun, 14 Jan 2024 14:58:34 +0100 |
This is an automated email from the git hooks/post-receive script.
nora pushed a commit to branch master
in repository taler-mdb.
commit 02b956b95d4bd16d5aac4e996ce6665f2f2f261d
Author: Nullptrderef <nullptrderef@proton.me>
AuthorDate: Sun Jan 14 14:58:16 2024 +0100
use 8-bit colour to reduce size
---
contrib/convert-svgs-to-pngs.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/convert-svgs-to-pngs.sh b/contrib/convert-svgs-to-pngs.sh
index c11df7f..4a37feb 100755
--- a/contrib/convert-svgs-to-pngs.sh
+++ b/contrib/convert-svgs-to-pngs.sh
@@ -32,7 +32,7 @@ convertSvgToPng() {
gm convert -density "$TARGET_RESOLUTION" "$1" -resize
"$TARGET_RESOLUTION" "$2";
;;
"inkscape")
- inkscape -w "$width" -h "$height" "$1" -o "$2" 2>&1 | grep -v -E
'data:font/|font-(family|style|weight|display)|unicode-range|end_font_face_cb:
font face rule limited support' | sed '/^$/d'
+ inkscape -w "$width" -h "$height" "$1" --export-png-color-mode=RGB_8 -o
"$2" 2>&1 | grep -v -E
'data:font/|font-(family|style|weight|display)|unicode-range|end_font_face_cb:
font face rule limited support' | sed '/^$/d'
;;
*)
echo "FATAL: Invalid tool \"$CONVERSION_TOOL\"" 1>&2
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.