summaryrefslogtreecommitdiff
path: root/gamut/maptest.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2015-05-01 16:13:57 +0200
commit094535c010320967639e8e86f974d878e80baa72 (patch)
treeefc3094b20355dcbeebb2c4ece4fcfc69bffedb5 /gamut/maptest.c
parentc07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 (diff)
Imported Upstream version 1.7.0upstream/1.7.0
Diffstat (limited to 'gamut/maptest.c')
-rw-r--r--gamut/maptest.c7
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) {