[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0beta1-14-g888c03636

git at osgeo.org git at osgeo.org
Sat Jul 15 15:38:02 PDT 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  888c036361b95d90edd84be2f04fe1686f09275b (commit)
      from  8140ae8be1ca9b4c7309e56333d19392899333e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 888c036361b95d90edd84be2f04fe1686f09275b
Author: Sandro Santilli <strk at kbt.io>
Date:   Sun Jul 16 00:37:48 2023 +0200

    Print more imagemagick commands with -v

diff --git a/doc/html/images/generator.c b/doc/html/images/generator.c
index 73d55a690..2f47f98de 100644
--- a/doc/html/images/generator.c
+++ b/doc/html/images/generator.c
@@ -369,7 +369,9 @@ optimizeImage(char* filename)
 	char *str;
 	str = malloc( (18 + (2*strlen(filename)) + 1) * sizeof(char) );
 	sprintf(str, "convert %s -depth 8 %s", filename, filename);
-	LWDEBUGF(4, "%s", str);
+	if (optionVerbose) {
+		puts(str);
+	}
 	checked_system(str);
 	free(str);
 }
@@ -382,6 +384,9 @@ flattenLayers(char* filename)
 {
 	char *str = malloc( (48 + strlen(filename) + strlen(tmpdir) + 2) * sizeof(char) );
 	sprintf(str, "convert %s/tmp*.png -background white -flatten %s", tmpdir, filename);
+	if (optionVerbose) {
+		puts(str);
+	}
 
 	LWDEBUGF(4, "%s", str);
 	checked_system(str);

-----------------------------------------------------------------------

Summary of changes:
 doc/html/images/generator.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list