From 9fb09f401ff623475f88ad66eaa46fd940115793 Mon Sep 17 00:00:00 2001 From: tTh Date: Wed, 20 Mar 2024 20:07:48 +0100 Subject: [PATCH] thermocol is in fimgfx --- tools/fimgfx.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/fimgfx.c b/tools/fimgfx.c index 853bc360..1ed80911 100644 --- a/tools/fimgfx.c +++ b/tools/fimgfx.c @@ -29,7 +29,7 @@ enum fxid { Fx_cos01=5, Fx_cos010, Fx_pow2, Fx_sqrt, Fx_gray0, Fx_halfsz0, Fx_classtrial, Fx_mirror, Fx_shift0, Fx_trimul, Fx_xper, Fx_binarize, Fx_trinarize, Fx_hilight_R, Fx_absolute, Fx_clamp, Fx_fakol0, Fx_fakol3, - Fx_morph0, Fx_morph4, Fx_morph8 }; + Fx_morph0, Fx_morph4, Fx_morph8, Fx_thermocol }; Fx fx_list[] = { { "cos01", Fx_cos01, 0, 1 }, @@ -57,6 +57,7 @@ Fx fx_list[] = { { "morph0", Fx_morph0, 0, 1 }, { "morph4", Fx_morph4, 0, 1 }, { "morph8", Fx_morph8, 0, 1 }, + { "thermocol", Fx_thermocol, 0, 1 }, { NULL, 0, 0, 0 } }; @@ -272,6 +273,9 @@ switch (action) { case Fx_morph8: foo = fimg_filtre_morpho_0(&src, &dest, 8); break; + case Fx_thermocol: + foo = fimg_auto_thermique(&src, &dest, 0); break; + default: fprintf(stderr, "%s %s : %d is bad action\n", __FILE__, __func__, action);