fixed the default gamma value which I broke with my recent change (see bug

2003-11-16  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/png.c: fixed the default gamma value which I
	broke with my recent change (see bug #120031).
This commit is contained in:
Sven Neumann 2003-11-16 18:01:56 +00:00 committed by Sven Neumann
parent fd30d5c976
commit d7ae65edc4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-11-16 Sven Neumann <sven@gimp.org>
* plug-ins/common/png.c: fixed the default gamma value which I
broke with my recent change (see bug #120031).
2003-11-16 Sven Neumann <sven@gimp.org>
* app/config/gimpbaseconfig.h

View File

@ -1079,7 +1079,7 @@ save_image (const gchar *filename,
if (pngvals.gama)
{
GimpParasite *parasite;
gdouble gamma = DEFAULT_GAMMA;
gdouble gamma = 1.0 / DEFAULT_GAMMA;
parasite = gimp_image_parasite_find (orig_image_ID, "gamma");
if (parasite)