Author: post
Date: 2010-05-26 16:37:18 +0200 (Wed, 26 May 2010)
New Revision: 3376
Modified:
trunk/plugins/load-gdk/load-gdk.c
Log:
Embed sRGB profile when loading images with GDK.
Modified: trunk/plugins/load-gdk/load-gdk.c
===================================================================
--- trunk/plugins/load-gdk/load-gdk.c 2010-05-26 14:36:56 UTC (rev 3375)
+++ trunk/plugins/load-gdk/load-gdk.c 2010-05-26 14:37:18 UTC (rev 3376)
@@ -69,6 +69,8 @@
rs_filter_response_set_width(response, image->w);
rs_filter_response_set_height(response, image->h);
g_object_unref(image);
+ RSColorSpace *input_space =
rs_color_space_new_singleton("RSSrgb");
+ rs_filter_param_set_object(RS_FILTER_PARAM(response),
"embedded-colorspace", input_space);
}
return response;
}
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit