1
From dab8fd561e92abdeab56224077b1c333416f8d68 Mon Sep 17 00:00:00 2001
2
From: Stephane Delcroix <stephane@delcroix.org>
3
Date: Mon, 04 Jan 2010 19:18:32 +0000
4
Subject: Allow printing with color profile enabled
6
Restore the previous behavior, i.e. use a standard rgb profile if the image doesn't have an embedded profile.
10
diff --git a/src/Core/ColorManagement.cs b/src/Core/ColorManagement.cs
11
index a8f4526..143531a 100644
12
--- a/src/Core/ColorManagement.cs
13
+++ b/src/Core/ColorManagement.cs
14
@@ -85,6 +85,8 @@ namespace FSpot {
15
if (pixbuf == null || pixbuf.HasAlpha)
18
+ image_profile = image_profile ?? Cms.Profile.CreateStandardRgb ();
20
Cms.Profile [] list = new Cms.Profile [] { image_profile, destination_profile };
21
Cms.Transform transform = new Cms.Transform (list,
22
PixbufUtils.PixbufCmsFormat (pixbuf),