changeset 48693:057cea5b1f68

*** empty log message ***
author Francesco Potortì <pot@gnu.org>
date Fri, 06 Dec 2002 17:05:15 +0000
parents b2929bf0de68
children 9052f7b28447
files src/ChangeLog src/xfns.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Dec 06 17:04:48 2002 +0000
+++ b/src/ChangeLog	Fri Dec 06 17:05:15 2002 +0000
@@ -1,3 +1,8 @@
+2002-12-06  Francesco Potorti`  <pot@gnu.org>
+
+	* xfns.c (png_load): Avoid double gamma correction for PNG
+	images.
+
 2002-12-04  Richard M. Stallman  <rms@gnu.org>
 
 	* sysdep.c (fcntl.h): Test only HAVE_FCNTL_H.
--- a/src/xfns.c	Fri Dec 06 17:04:48 2002 +0000
+++ b/src/xfns.c	Fri Dec 06 17:05:15 2002 +0000
@@ -9003,7 +9003,7 @@
 
   screen_gamma = (f->gamma ? 1 / f->gamma / 0.45455 : 2.2);
 
-#if 0 /* avoid double gamma correction for PNG images */
+#if 0 /* Avoid double gamma correction for PNG images. */
   /* Tell the PNG lib to handle gamma correction for us.  */
 #if defined(PNG_READ_sRGB_SUPPORTED) || defined(PNG_WRITE_sRGB_SUPPORTED)
   if (png_get_sRGB (png_ptr, info_ptr, &intent))