From 81f0928abe8bc377357dde35aa5a3188f9c7659d Mon Sep 17 00:00:00 2001 From: Christopher Chavez Date: Thu, 18 Nov 2021 07:29:45 -0600 Subject: [PATCH] Fix for RT 129472 Reverts 3ee2123 --- PNG/imgPNG.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PNG/imgPNG.c b/PNG/imgPNG.c index d1e76483..b2a4fb78 100644 --- a/PNG/imgPNG.c +++ b/PNG/imgPNG.c @@ -501,7 +501,7 @@ static int CommonReadPNG(png_ptr, format, imageHandle, destX, destY, if (!png_get_gAMA(png_ptr, info_ptr, &gamma)) { gamma = 0.45455; } - png_set_gamma(png_ptr, 2.2, gamma); + png_set_gamma(png_ptr, 1.0, gamma); #endif #if defined(PNG_sRGB_SUPPORTED) }