mirror of https://github.com/GNOME/gimp.git
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:
parent
fd30d5c976
commit
d7ae65edc4
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue