Compare commits

..

3 Commits

Author SHA1 Message Date
le vieux
ea0945ab98 cosmetic 2021-02-25 12:16:07 +01:00
le vieux
be7ea3e0ff nice try ? 2021-02-25 11:39:36 +01:00
le vieux
4e32daa448 more startup blabla 2021-02-25 10:55:57 +01:00
3 changed files with 9 additions and 5 deletions

View File

@ -105,7 +105,7 @@ FimgFilter3x3 diagonal = {
1.0, 0.0, -1.0, 1.0, 0.0, -1.0,
0.0, -1.0, -2.0, 0.0, -1.0, -2.0,
}, },
1.0, 4.0 1.0, 0.0
}; };
switch (typef) { switch (typef) {
@ -126,6 +126,7 @@ if (retval) {
fprintf(stderr, "%s error %d on filter\n", __func__, retval); fprintf(stderr, "%s error %d on filter\n", __func__, retval);
exit(1); exit(1);
} }
(void)fimg_killborders(&img); /* nice try ? */
foo = fimg_auto_shift_to_zero(&img, &img); foo = fimg_auto_shift_to_zero(&img, &img);
if (foo) { if (foo) {

View File

@ -256,6 +256,8 @@ while ((opt = getopt(argc, argv, "B:E:F:ghI:LO:s:T:vw:x:")) != -1) {
if (verbosity) { if (verbosity) {
fprintf(stderr, "input glob '%s'\n", in_pattern); fprintf(stderr, "input glob '%s'\n", in_pattern);
fprintf(stderr, "output dir '%s'\n", out_dir); fprintf(stderr, "output dir '%s'\n", out_dir);
fprintf(stderr, "src filter '%s'\n", InFchain);
fprintf(stderr, "out filter '%s'\n", OutFchain);
} }
foo = parse_filter_chain(0, InFchain); foo = parse_filter_chain(0, InFchain);

View File

@ -167,10 +167,11 @@ if (foo) {
} }
if (verbosity) { if (verbosity) {
fprintf(stderr, "input glob %s\n", globbing); fprintf(stderr, "\tpid %d\n", getpid());
fprintf(stderr, "filter chain %s\n", filterchain); fprintf(stderr, "\tinput glob %s\n", globbing);
fprintf(stderr, "ourput dir %s\n", outdir); fprintf(stderr, "\tfilter chain %s\n", filterchain);
fprintf(stderr, "do xper %d\n", do_xper); fprintf(stderr, "\tourput dir %s\n", outdir);
fprintf(stderr, "\tdo xper %d\n", do_xper);
} }
foo = run_the_singlepass(globbing, outdir, FILTERS); foo = run_the_singlepass(globbing, outdir, FILTERS);