summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorNullptrderef <nullptrderef@proton.me>2024-01-14 14:58:16 +0100
committerNullptrderef <nullptrderef@proton.me>2024-01-14 14:58:26 +0100
commit02b956b95d4bd16d5aac4e996ce6665f2f2f261d (patch)
tree154a776b16c8188771a69f8bd45e432c1c02c972 /contrib
parent6b14846ad596667222267997ad25a9ff597f9ee0 (diff)
downloadtaler-mdb-02b956b95d4bd16d5aac4e996ce6665f2f2f261d.tar.gz
taler-mdb-02b956b95d4bd16d5aac4e996ce6665f2f2f261d.tar.bz2
taler-mdb-02b956b95d4bd16d5aac4e996ce6665f2f2f261d.zip
use 8-bit colour to reduce size
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/convert-svgs-to-pngs.sh2
1 files changed, 1 insertions, 1 deletions
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