Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bfa261c0
Commit
bfa261c0
authored
Dec 06, 2002
by
Francesco Potortì
Browse files
*** empty log message ***
parent
7273d100
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/xfns.c
src/xfns.c
+1
-1
No files found.
src/ChangeLog
View file @
bfa261c0
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.
...
...
src/xfns.c
View file @
bfa261c0
...
...
@@ -9003,7 +9003,7 @@ png_load (f, img)
screen_gamma = (f->gamma ? 1 / f->gamma / 0.45455 : 2.2);
#if 0 /*
a
void double gamma correction for PNG images */
#if 0 /*
A
void 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))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment