eog r4529 - in trunk: . src



Author: friemann
Date: Fri Apr 11 20:49:45 2008
New Revision: 4529
URL: http://svn.gnome.org/viewvc/eog?rev=4529&view=rev

Log:
2008-04-11  Felix Riemann  <friemann svn gnome org>

	* src/eog-image.c: (eog_image_apply_display_profile): Don't try to
	colorcorrect images with an alpha channel. EOG is not doing it
	correctly yet.


Modified:
   trunk/ChangeLog
   trunk/src/eog-image.c

Modified: trunk/src/eog-image.c
==============================================================================
--- trunk/src/eog-image.c	(original)
+++ trunk/src/eog-image.c	Fri Apr 11 20:49:45 2008
@@ -618,6 +618,12 @@
 		return;
 	}
 
+	/* TODO: find the right way to colorcorrect RGBA images */
+	if (gdk_pixbuf_get_has_alpha (priv->image)) {
+		eog_debug_message (DEBUG_LCMS, "Colorcorrecting RGBA images is unsupported.");
+		return;
+	}
+
 	transform = cmsCreateTransform (priv->profile, 
 				        TYPE_RGB_8, 
 				        screen, 



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