From bfa261c0599be9758f0941c61e91a39b61b06ab9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Francesco=20Potort=C3=AC?= Date: Fri, 6 Dec 2002 17:05:15 +0000 Subject: [PATCH] *** empty log message *** --- src/ChangeLog | 5 +++++ src/xfns.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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)) -- 2.39.2