more work on the Fonderie

This commit is contained in:
tth
2021-05-11 10:36:55 +02:00
parent daeb4c72a7
commit cc79dd5152
10 changed files with 80 additions and 12 deletions

View File

@@ -287,7 +287,7 @@ fprintf(stderr, ">>> %s ( %p %d )\n", __func__, pimg, offset);
#endif
if (offset<0 || offset>=pimg->width) {
fprintf(stderr, "%s offset %d is bad\n", __func__, offset);
fprintf(stderr, "%s: offset %d is bad\n", __func__, offset);
return -66;
}
@@ -309,6 +309,23 @@ for (y=0; y<pimg->height; y++) {
return 0;
}
/* -------------------------------------------------------------- */
/* nouveau Mon 10 May 2021 08:46:02 PM CEST
* chez Eric 1KA */
int des_bords_sombres_b(FloatImg *pimg, int offset)
{
#if DEBUG_LEVEL
fprintf(stderr, ">>> %s ( %p %d )\n", __func__, pimg, offset);
#endif
if (offset<0 || offset>=pimg->width) {
fprintf(stderr, "%s: offset %d is bad\n", __func__, offset);
return -66;
}
return -1;
}
/* -------------------------------------------------------------- */
/*
* int binarize(FloatImg *pimg, int notused) was now in
* funcs/sfx2.c