[gnome-color-manager] Revert "Encode the gamma of the generated profile in the VCGT tag"



commit b8eebdd4b58e5e6464a3a0c371b8b05b72fe1c14
Author: Richard Hughes <richard hughsie com>
Date:   Sun Oct 10 22:52:42 2010 +0100

    Revert "Encode the gamma of the generated profile in the VCGT tag"
    
    This reverts commit 9a69257f7200d0a81255bd833d3dcfd3a96b7c4b.

 libcolor-glib/gcm-profile.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libcolor-glib/gcm-profile.c b/libcolor-glib/gcm-profile.c
index 3513147..11ba5c6 100644
--- a/libcolor-glib/gcm-profile.c
+++ b/libcolor-glib/gcm-profile.c
@@ -1044,7 +1044,7 @@ gcm_profile_create_from_chroma (GcmProfile *profile, gdouble gamma,
 
 	/* create our generated profile */
 	priv->lcms_profile = cmsCreateRGBProfile (&white_point, &chroma, transfer_curve);
-	cmsWriteTag (priv->lcms_profile, cmsSigVcgtType, transfer_curve);
+	cmsSetEncodedICCversion (priv->lcms_profile, 2);
 	cmsFreeToneCurve (*transfer_curve);
 
 	/* success */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]