Commit bfa261c0 authored by Francesco Potortì's avatar Francesco Potortì
Browse files

*** empty log message ***

parent 7273d100
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.
......
......@@ -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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment