Lines Matching full:gamma
1277 (This excludes setting a background color, doing gamma transformation,
1443 png_get_gAMA(png_ptr, info_ptr, &gamma);
1444 gamma - the gamma the file is written
1886 The calculation is done in a linear colorspace, if the image gamma
1913 need to tell libpng whether the color is in the gamma space of the
1920 to know what the display gamma is. Ideally, the user will know this, and
1922 to set the display gamma separately for each system is to check for a
1926 Note that display_gamma is the overall gamma correction required to produce
1929 the physical gamma exponent of the monitor is needed, while in a dark room
1932 double gamma, screen_gamma;
1935 gamma value */)
1940 screen gamma value */
1957 The png_set_gamma() function handles gamma transformations of the data.
1958 Pass both the file gamma and the current screen_gamma. If the file does
1959 not have a gamma value, you can pass one anyway if you have an idea what
1962 on gamma in the PNG specification for an excellent description of what
1963 gamma is, and why all applications should support it. It is strongly
1964 recommended that PNG viewers support gamma correction.
1966 if (png_get_gAMA(png_ptr, info_ptr, &gamma))
1967 png_set_gamma(png_ptr, screen_gamma, gamma);
2701 png_set_gAMA(png_ptr, info_ptr, gamma);
2702 gamma - the gamma the image was created