babl r276 - in trunk: . extensions



Author: neo
Date: Tue Jan 22 09:38:23 2008
New Revision: 276
URL: http://svn.gnome.org/viewvc/babl?rev=276&view=rev

Log:
2008-01-22  Sven Neumann  <sven gimp org>

	* extensions/gimp-8bit.c (u8_gamma_2_2_to_float_linear): use the
	correct lookup table.


Modified:
   trunk/ChangeLog
   trunk/extensions/gimp-8bit.c

Modified: trunk/extensions/gimp-8bit.c
==============================================================================
--- trunk/extensions/gimp-8bit.c	(original)
+++ trunk/extensions/gimp-8bit.c	Tue Jan 22 09:38:23 2008
@@ -74,7 +74,7 @@
   long   n = samples;
 
   while (n--)
-    *d++ = lut_linear[*src++];
+    *d++ = lut_gamma_2_2[*src++];
 
   return samples;
 }



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