Update of /cvsroot/ufraw/ufraw In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv25593
Modified Files: ufraw_developer.c Log Message: Fix luminosity curve for lcms2. Index: ufraw_developer.c =================================================================== RCS file: /cvsroot/ufraw/ufraw/ufraw_developer.c,v retrieving revision 1.90 retrieving revision 1.91 diff -u -d -r1.90 -r1.91 --- ufraw_developer.c 5 Oct 2013 16:00:10 -0000 1.90 +++ ufraw_developer.c 16 Oct 2013 16:25:11 -0000 1.91 @@ -743,7 +743,7 @@ cmsFloat32Number values[0x100]; cmsFreeToneCurve(TransferFunction[0]); for (i = 0; i < 0x100; i++) - values[i] = (cmsFloat32Number) cs->m_Samples[i]; + values[i] = (cmsFloat32Number) cs->m_Samples[i] / 0x10000; TransferFunction[0] = cmsBuildTabulatedToneCurveFloat(NULL, 0x100, values); d->luminosityProfile = cmsCreateLinearizationDeviceLink( ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ ufraw-cvs mailing list ufraw-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ufraw-cvs