GraphicsMagick: coders/png.c: Expose gama value to the optional ...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.3131.1683989928.7928.graphicsmagick-commit@lists.sourceforge.net>
changeset cf97c718d929 in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=cf97c718d929
summary: coders/png.c: Expose gama value to the optional log.

diffstat:

 ChangeLog    |  4 ++++
 coders/png.c |  2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 638f3dff9861 -r cf97c718d929 ChangeLog
--- a/ChangeLog	Thu May 11 15:27:47 2023 -0500
+++ b/ChangeLog	Sat May 13 16:58:15 2023 +0200
@@ -1,3 +1,7 @@
+2023-05-13  Fojtik Jaroslav  <[email protected]>
+
+	* coders/png.c: Expose gama value to the optional log.
+
 2023-05-11  Bob Friesenhahn  <[email protected]>
 
 	* utilities/tests/gen-tiff-images/genimages: Write one-bit grey
diff -r 638f3dff9861 -r cf97c718d929 coders/png.c
--- a/coders/png.c	Thu May 11 15:27:47 2023 -0500
+++ b/coders/png.c	Sat May 13 16:58:15 2023 +0200
@@ -8307,7 +8307,7 @@
           */
           if (logging)
             (void) LogMagickEvent(CoderEvent,GetMagickModule(),
-                                  "  Setting up gAMA chunk");
+                                  "  Setting up gAMA chunk gamma=%f", image->gamma);
           png_set_gAMA(ping,ping_info,image->gamma);
         }
       if (!mng_info->have_write_global_chrm &&
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.