diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:24:15 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2015-05-01 16:24:15 +0200 |
commit | a30ba67504ffd12c4db499adbb5ce47a7d1f6036 (patch) | |
tree | 9ae1a7e3849dda6bbb5c578232f6f2fa5b2e7e7e /xicc/transplot.c | |
parent | 89e99e8a827859729729dfc92d74be4a8f96f1a4 (diff) | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
New release 1.7.0
Diffstat (limited to 'xicc/transplot.c')
-rw-r--r-- | xicc/transplot.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/xicc/transplot.c b/xicc/transplot.c index d4600d9..6473e2b 100644 --- a/xicc/transplot.c +++ b/xicc/transplot.c @@ -1,6 +1,5 @@ /* - * International Color Consortium Format Library (icclib) * Check various aspects of RGB or CMYK device link, * and RGB/CMYK profile transfer characteristics. * @@ -29,6 +28,7 @@ #include "icc.h" #include "numlib.h" #include "plot.h" +#include "ui.h" void usage(void) { fprintf(stderr,"Check CMYK/RGB/PCS->PCS/CMYK/RGB transfer response\n"); @@ -321,8 +321,12 @@ main( } if (labout) do_plot6(xx,y0,y1,NULL,NULL,y2,NULL,XRES); - else - do_plot6(xx,y3,y1,NULL,y0,y2,NULL,XRES); + else { + if (outs == icSigCmykData) + do_plot6(xx,y3,y1,NULL,y0,y2,NULL,XRES); + else /* Assume RGB */ + do_plot6(xx,NULL,y0,y1,y2,NULL,NULL,XRES); + } } /* Done with lookup object */ |