commit 02b956b95d4bd16d5aac4e996ce6665f2f2f261d parent 6b14846ad596667222267997ad25a9ff597f9ee0 Author: Nullptrderef <nullptrderef@proton.me> Date: Sun, 14 Jan 2024 14:58:16 +0100 use 8-bit colour to reduce size Diffstat:
| M | 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 @@ -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