From c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 15:43:52 +0200 Subject: Imported Upstream version 1.6.3 --- profile/profin.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'profile/profin.c') diff --git a/profile/profin.c b/profile/profin.c index 2f74ec2..c703c42 100644 --- a/profile/profin.c +++ b/profile/profin.c @@ -825,6 +825,8 @@ make_input_icc( flags |= ICX_SET_BLACK; /* Compute & use black */ flags |= ICX_SET_WHITE; /* Compute & use white */ + + /* ICX_SET_WHITE_C isn't applicable to matrix profiles */ if (autowpsc) flags |= ICX_SET_WHITE_US; /* Compute & use white without scaling to L */ @@ -836,7 +838,7 @@ make_input_icc( wr_xicc, icmFwd, icmDefaultIntent, icmLuOrdNorm, flags, /* Flags */ - npat, npat, tpat, NULL, 0.0, wpscale, smooth, avgdev, + npat, npat, tpat, NULL, 0.0, wpscale, smooth, avgdev, 1.0, NULL, NULL, NULL, iquality)) == NULL) error("%d, %s",wr_xicc->errc, wr_xicc->err); @@ -1121,7 +1123,7 @@ make_input_icc( ICX_2PASSSMTH | #endif flags, /* Flags */ - npat + nxpat, npat, tpat, NULL, 0.0, wpscale, smooth, avgdev, + npat + nxpat, npat, tpat, NULL, 0.0, wpscale, smooth, avgdev, 1.0, NULL, NULL, NULL, iquality)) == NULL) error ("%d, %s",wr_xicc->errc, wr_xicc->err); @@ -1207,7 +1209,8 @@ make_input_icc( NULL, NULL, /* Use default Lab' range */ in_b2a_clut, /* Lab' -> Device' transfer function */ NULL, NULL, /* Use default Device' range */ - in_b2a_output) != 0) /* Output transfer function, Device'->Device */ + in_b2a_output, /* Output transfer function, Device'->Device */ + NULL, NULL) != 0) /* Use default APXLS range */ error("Setting 16 bit PCS->Device Lut failed: %d, %s",wr_icco->errc,wr_icco->err); if (cx.verb) { printf("\n"); -- cgit v1.2.3