nice try ?

This commit is contained in:
le vieux 2021-02-25 11:39:36 +01:00
parent 4e32daa448
commit be7ea3e0ff

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) {