diff options
| author | Francesco Potortì | 2002-12-06 17:05:15 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2002-12-06 17:05:15 +0000 |
| commit | bfa261c0599be9758f0941c61e91a39b61b06ab9 (patch) | |
| tree | 076dc48b5445a18be7bb475d14557e81fec0cd2b /src | |
| parent | 7273d1004b57e012db9cfd80ea648b5bd796002d (diff) | |
| download | emacs-bfa261c0599be9758f0941c61e91a39b61b06ab9.tar.gz emacs-bfa261c0599be9758f0941c61e91a39b61b06ab9.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/xfns.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8967f6eb932..8200c75aa90 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-12-06 Francesco Potorti` <pot@gnu.org> | ||
| 2 | |||
| 3 | * xfns.c (png_load): Avoid double gamma correction for PNG | ||
| 4 | images. | ||
| 5 | |||
| 1 | 2002-12-04 Richard M. Stallman <rms@gnu.org> | 6 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
| 2 | 7 | ||
| 3 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. | 8 | * 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) | |||
| 9003 | 9003 | ||
| 9004 | screen_gamma = (f->gamma ? 1 / f->gamma / 0.45455 : 2.2); | 9004 | screen_gamma = (f->gamma ? 1 / f->gamma / 0.45455 : 2.2); |
| 9005 | 9005 | ||
| 9006 | #if 0 /* avoid double gamma correction for PNG images */ | 9006 | #if 0 /* Avoid double gamma correction for PNG images. */ |
| 9007 | /* Tell the PNG lib to handle gamma correction for us. */ | 9007 | /* Tell the PNG lib to handle gamma correction for us. */ |
| 9008 | #if defined(PNG_READ_sRGB_SUPPORTED) || defined(PNG_WRITE_sRGB_SUPPORTED) | 9008 | #if defined(PNG_READ_sRGB_SUPPORTED) || defined(PNG_WRITE_sRGB_SUPPORTED) |
| 9009 | if (png_get_sRGB (png_ptr, info_ptr, &intent)) | 9009 | if (png_get_sRGB (png_ptr, info_ptr, &intent)) |