summaryrefslogtreecommitdiff
path: root/base/gsicc_manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'base/gsicc_manage.c')
-rw-r--r--base/gsicc_manage.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/base/gsicc_manage.c b/base/gsicc_manage.c
index f977b649d..9de2a5218 100644
--- a/base/gsicc_manage.c
+++ b/base/gsicc_manage.c
@@ -497,6 +497,19 @@ gsicc_get_default_type(cmm_profile_t *profile_data)
}
bool
+gsicc_is_default_profile(cmm_profile_t *profile_data)
+{
+ switch (profile_data->default_match) {
+ case DEFAULT_GRAY:
+ case DEFAULT_RGB:
+ case DEFAULT_CMYK:
+ return true;
+ default:
+ return false;
+ }
+}
+
+bool
gsicc_profile_from_ps(cmm_profile_t *profile_data)
{
switch ( profile_data->default_match ) {