[gs-commits] rev 11858 - trunk/gs/base

mvrhel at ghostscript.com mvrhel at ghostscript.com
Tue Oct 26 20:30:33 UTC 2010


Author: mvrhel
Date: 2010-10-26 20:30:32 +0000 (Tue, 26 Oct 2010)
New Revision: 11858

Modified:
   trunk/gs/base/gdevwts.c
Log:
Fix for RGB byte order expected by new CMM compared to imdi libray.

Modified: trunk/gs/base/gdevwts.c
===================================================================
--- trunk/gs/base/gdevwts.c	2010-10-26 20:22:45 UTC (rev 11857)
+++ trunk/gs/base/gdevwts.c	2010-10-26 20:30:32 UTC (rev 11858)
@@ -920,7 +920,7 @@
 	    g = *src++;
 	    b = *src++;
 	    if (r != r_last || g != g_last || b != b_last) {
-		gx_color_index color = (((r<<8) | g) << 8) | b;
+		gx_color_index color = (((b<<8) | g) << 8) | r;
 
 		r_last = r, g_last = g, b_last = b;
 		wtsimdi_resolve_one(idev, color);



More information about the gs-commits mailing list