El 21/12/2012 22:33, Richard Hughes escribió: > Typically when creating profiles you have a transfer function set up like > this: > > transfer[0] = cmsBuildGamma (NULL, 2.2); > transfer[1] = transfer[0]; > transfer[2] = transfer[0]; > > and then do something like cmsCreateRGBProfile(transfer). I don't > think LCMS notices this, and embeds 3 copies of the parametric curve > into the profile. Using the attached patch means if we use the same > curve for all channels then this is only embedded once and we instead > link to the same data area in the profile header. The patch is lightly > tested, and probably needs a sanity test case in the check program. > Using this patch makes the generated profiles smaller. > > Comments welcome, thanks.
Looks great, I will incorporate it to the master sources after Christmas, as actually I've no access to the computer where I do the qualification. Thanks for the contribution! Regards & merry xmas Marti ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user