summaryrefslogtreecommitdiff
path: root/profile
diff options
context:
space:
mode:
Diffstat (limited to 'profile')
-rw-r--r--profile/colprof.c2
-rw-r--r--profile/colverify.c2
-rw-r--r--profile/profcheck.c2
-rw-r--r--profile/profout.c16
4 files changed, 11 insertions, 11 deletions
diff --git a/profile/colprof.c b/profile/colprof.c
index ced168b..7309dc4 100644
--- a/profile/colprof.c
+++ b/profile/colprof.c
@@ -956,7 +956,7 @@ int main(int argc, char *argv[]) {
if (illum == icxIT_none)
illum = icxIT_D50;
- if (observ = icxOT_none)
+ if (observ == icxOT_none)
observ = icxOT_CIE_1931_2;
/* See if CIE is actually available - some sources of .TI3 don't provide it */
diff --git a/profile/colverify.c b/profile/colverify.c
index 40165a0..1ab3f64 100644
--- a/profile/colverify.c
+++ b/profile/colverify.c
@@ -707,7 +707,7 @@ int main(int argc, char *argv[])
}
/* Set default */
- if (l_observ = icxOT_none)
+ if (l_observ == icxOT_none)
l_observ = icxOT_CIE_1931_2;
if ((sp2cie = new_xsp2cie(l_illum, l_illum == icxIT_none ? NULL : &cust_illum,
diff --git a/profile/profcheck.c b/profile/profcheck.c
index 8c2fc60..e3f1bec 100644
--- a/profile/profcheck.c
+++ b/profile/profcheck.c
@@ -446,7 +446,7 @@ int main(int argc, char *argv[])
if (illum == icxIT_none)
illum = icxIT_D50;
- if (observ = icxOT_none)
+ if (observ == icxOT_none)
observ = icxOT_CIE_1931_2;
/* See if CIE is actually available - some sources of .TI3 don't provide it */
diff --git a/profile/profout.c b/profile/profout.c
index 1a6f4ae..4ad62aa 100644
--- a/profile/profout.c
+++ b/profile/profout.c
@@ -2276,22 +2276,22 @@ make_output_icc(
printf("Creating Gamut Mapping\n");
/* Gamut mapping will extend given grid res to encompas */
- /* source gamut by a margin. */
- if (oquality == 3) { /* Ultra High */
- gres = 8.0;
- mapres = 41;
+ /* source gamut by a margin of 1.20. */
+ if (oquality == 3) { /* Ultra High */
+ gres = 7.0;
+ mapres = 49;
} else if (oquality == 2) { /* High */
gres = 8.0;
- mapres = 33;
+ mapres = 39;
} else if (oquality == 1) { /* Medium */
gres = 10.0;
- mapres = 25;
+ mapres = 29;
} else if (oquality == 0) { /* Low quality */
gres = 12.0;
- mapres = 17;
+ mapres = 19;
} else { /* Extremely low */
gres = 14.0;
- mapres = 9;
+ mapres = 11;
}
/* We could lift this restriction by allowing for separate */