]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorFrancesco Potortì <pot@gnu.org>
Fri, 6 Dec 2002 17:05:15 +0000 (17:05 +0000)
committerFrancesco Potortì <pot@gnu.org>
Fri, 6 Dec 2002 17:05:15 +0000 (17:05 +0000)
src/ChangeLog
src/xfns.c

index 8967f6eb932167b2de1bdefd8d63f09caf84cc3a..8200c75aa90dc7804c1da6198fd21d2cafb3dbca 100644 (file)
@@ -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.
index 34b34f81da9e054e30b9bddfb055ad97f98d21e9..6132a1dab7367b805a14026a4cacdb7d4c34c75b 100644 (file)
@@ -9003,7 +9003,7 @@ png_load (f, img)
 
   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))