summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarti Maria <info@littlecms.com>2011-02-10 16:13:39 +0100
committerMarti Maria <info@littlecms.com>2011-02-10 16:13:39 +0100
commit4557d3e88580c80c168442b1e6c47fe25bb6f261 (patch)
tree57527122cfe2f5db025271411d360015e4c806bd
parentc9af5651622124212186883bed0db7587105f383 (diff)
downloadlcms2-4557d3e88580c80c168442b1e6c47fe25bb6f261.tar.gz
Fixed a bug that prevented absolute colorimetric intent on linkicc
-rw-r--r--src/cmsopt.c2
-rw-r--r--src/cmsxform.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cmsopt.c b/src/cmsopt.c
index b1ce98e..2a839ef 100644
--- a/src/cmsopt.c
+++ b/src/cmsopt.c
@@ -2,7 +2,7 @@
//---------------------------------------------------------------------------------
//
// Little Color Management System
-// Copyright (c) 1998-2010 Marti Maria Saguer
+// Copyright (c) 1998-2011 Marti Maria Saguer
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Software"),
diff --git a/src/cmsxform.c b/src/cmsxform.c
index 0b555e5..90b33fc 100644
--- a/src/cmsxform.c
+++ b/src/cmsxform.c
@@ -1,7 +1,7 @@
//---------------------------------------------------------------------------------
//
// Little Color Management System
-// Copyright (c) 1998-2010 Marti Maria Saguer
+// Copyright (c) 1998-2011 Marti Maria Saguer
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the "Software"),
@@ -547,6 +547,7 @@ cmsHTRANSFORM CMSEXPORT cmsCreateExtendedTransform(cmsContext ContextID,
// Keep values
xform ->EntryColorSpace = EntryColorSpace;
xform ->ExitColorSpace = ExitColorSpace;
+ xform ->RenderingIntent = Intents[nProfiles-1];
xform ->Lut = Lut;
// Create a gamut check LUT if requested