From c6739b6427261ac2682a9fca3b23c98df0dc9f60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 6 Nov 2015 07:40:42 +0100 Subject: New upstream release --- profile/colprof.c | 2 +- profile/colverify.c | 2 +- profile/profcheck.c | 2 +- profile/profout.c | 16 ++++++++-------- 4 files changed, 11 insertions(+), 11 deletions(-) (limited to 'profile') 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 */ -- cgit v1.2.3