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 /gamut/maptest.c | |
parent | 89e99e8a827859729729dfc92d74be4a8f96f1a4 (diff) | |
parent | 094535c010320967639e8e86f974d878e80baa72 (diff) |
New release 1.7.0
Diffstat (limited to 'gamut/maptest.c')
-rw-r--r-- | gamut/maptest.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gamut/maptest.c b/gamut/maptest.c index 5fe5c42..3a33453 100644 --- a/gamut/maptest.c +++ b/gamut/maptest.c @@ -32,6 +32,8 @@ #include "gamut.h" #include "rspl.h" #include "gammap.h" +#include "vrml.h" +#include "ui.h" void usage(void) { fprintf(stderr,"Map bteween two gamuts, Version %s\n",ARGYLL_VERSION_STR); @@ -55,12 +57,15 @@ main(int argc, char *argv[]) { int verb = 0; gammap *map; /* Regular split gamut mapping */ icxGMappingIntent gmi; + char gammapwrl[30] = "gammap"; /* Diagnostic file name */ gamut *gin, *gout; /* Input and Output gamuts */ gamut *gimg = NULL; /* Optional image gamut */ error_program = argv[0]; + strcat(gammapwrl, vrml_ext()); + if (argc < 3) usage(); @@ -203,7 +208,7 @@ main(int argc, char *argv[]) { 17, /* rspl resolution of 17 */ NULL, /* No input range override */ NULL, - "gammap.wrl" /* Diagnostic plot */ + gammapwrl /* Diagnostic plot */ ); if (map == NULL) { |