Home | History | Annotate | Download | only in libpng

Lines Matching full:screen_gamma

1102 SCREEN_GAMMA or DISPLAY_GAMMA environment variable, which will hopefully be
1111 double gamma, screen_gamma;
1116 screen_gamma = user_defined_screen_gamma;
1120 else if ((gamma_str = getenv("SCREEN_GAMMA"))
1123 screen_gamma = (double)atof(gamma_str);
1128 screen_gamma = 2.2; /* A good guess for a
1130 screen_gamma = 2.0; /* A good guess for a
1132 screen_gamma = 1.7 or 1.0; /* A good
1137 Pass both the file gamma and the current screen_gamma. If the file does
1146 png_set_gamma(png_ptr, screen_gamma, gamma);
1148 png_set_gamma(png_ptr, screen_gamma, 0.45455);
1253 will also update your palette with the correct screen_gamma and