summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmsio1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmsio1.c b/src/cmsio1.c
index 2d7deee..5df75fa 100644
--- a/src/cmsio1.c
+++ b/src/cmsio1.c
@@ -851,6 +851,10 @@ cmsBool CMSEXPORT cmsIsCLUT(cmsHPROFILE hProfile, cmsUInt32Number Intent, cmsUI
return FALSE;
}
+ // Extended intents are not strictly CLUT-based
+ if (Intent > INTENT_ABSOLUTE_COLORIMETRIC)
+ return FALSE;
+
return cmsIsTag(hProfile, TagTable[Intent]);
}