commit d7b6969d38eacf065238d1e501cebbe44a1e2730
Author: Omari Stephens <xsdg@xsdg.org>
Date: Sun Jan 24 08:22:18 2010 +0000
Bug 599065 - don't set sRGB chunk by default
If the image has neither a gamma set nor a color profile set, then we should
leave the image untagged. We should not tag as sRGB by default.
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index e906951..6d1e517 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -1453,10 +1453,6 @@ save_image (const gchar *filename,
g_free (profile_name);
}
- else if (! pngvals.gama)
- {
- png_set_sRGB (pp, info, 0);
- }
}
#endif