Searched refs:image_gamma (Results 1 – 2 of 2) sorted by relevance
303 double image_gamma = 1 / 2.2, screen_gamma = 2.2; in ReadPNG() local306 png_get_gAMA(png, info, &image_gamma)) { in ReadPNG()307 png_set_gamma(png, screen_gamma, image_gamma); in ReadPNG()
459 double image_gamma;460 if (png_get_gAMA(png_ptr, info_ptr, &image_gamma) != 0)461 png_set_gamma(png_ptr, screen_gamma, image_gamma);