From: Francesco Potortì Date: Fri, 6 Dec 2002 17:05:15 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: ttn-vms-21-2-B4~12136 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=bfa261c0599be9758f0941c61e91a39b61b06ab9;p=emacs.git *** empty log message *** --- diff --git a/src/ChangeLog b/src/ChangeLog index 8967f6eb932..8200c75aa90 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2002-12-06 Francesco Potorti` + + * xfns.c (png_load): Avoid double gamma correction for PNG + images. + 2002-12-04 Richard M. Stallman * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. diff --git a/src/xfns.c b/src/xfns.c index 34b34f81da9..6132a1dab73 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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))