]> bicyclesonthemoon.info Git - ott/enhance/blobdiff - enhance.c
Partial CGI update bacause git disagrees with me.
[ott/enhance] / enhance.c
index a1f21a89ebd0a6d276701e5776f3f2ed35b80094..2e0056b07fbfea964969bb1d9ac5ceb8f825f1c1 100644 (file)
--- a/enhance.c
+++ b/enhance.c
@@ -1,7 +1,7 @@
 /*
 enhance.c
 The tool with multiple enhancements and manipulations of pictures
-13.11.2022
+03.12.2022
 
 Copyright (C) 2022  Balthasar SzczepaƄski
 
@@ -33,6 +33,12 @@ on Pentium III libdevil must be recompiled with
 #include "nofading.h"
 #include "bluenh.h"
 #include "reveal.h"
+#include "diff.h"
+#include "npb.h"
+#include "pal_mix.h"
+#include "pal_unmix.h"
+#include "pal_mixdiff.h"
+#include "remap_t_1.h"
 
 int main (int argc, char **argv)
 {
@@ -56,6 +62,18 @@ int main (int argc, char **argv)
                f = &subtool_bluenh;
        else if (strcmp(argv[1], "reveal")==0)
                f = &subtool_reveal;
+       else if (strcmp(argv[1], "diff")==0)
+               f = &subtool_diff;
+       else if (strcmp(argv[1], "npb")==0)
+               f = &subtool_npb;
+       else if (strcmp(argv[1], "pal_mix")==0)
+               f = &subtool_pal_mix;
+       else if (strcmp(argv[1], "pal_unmix")==0)
+               f = &subtool_pal_unmix;
+       else if (strcmp(argv[1], "pal_mixdiff")==0)
+               f = &subtool_pal_mixdiff;
+       else if (strcmp(argv[1], "remap_t_1")==0)
+               f = &subtool_remap_t_1;
        else
                finish(EINVAL, "Unknown mode.\n");