gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-taler-mdb] branch master updated: add converter


From: gnunet
Subject: [taler-taler-mdb] branch master updated: add converter
Date: Sun, 14 Jan 2024 15:07:02 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new 5c004cf  add converter
5c004cf is described below

commit 5c004cf2dcdeff814f6be256294dc1261e21dc74
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Jan 14 15:06:58 2024 +0100

    add converter
---
 contrib/convert-svgs-to-pngs.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/contrib/convert-svgs-to-pngs.sh b/contrib/convert-svgs-to-pngs.sh
index 4a37feb..6e65222 100755
--- a/contrib/convert-svgs-to-pngs.sh
+++ b/contrib/convert-svgs-to-pngs.sh
@@ -53,7 +53,7 @@ do
   mkdir -p "${dir}/png"
 
   # Convert them
-  for svg in "${dir}/svg/"*; 
+  for svg in "${dir}/svg/"*;
   do
     png=$(sed 's/svg/png/g' <<< "$svg");
     echo "Converting $svg to $png with $CONVERSION_TOOL";
@@ -67,6 +67,8 @@ do
     else
       convertSvgToPng "$svg" "$png";
     fi;
+    pngng -s1 < "$png" > "${png}".compact
+    mv "${png}".compact "$png"
   done;
 
   wait;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]