Browse Source

bette verbose message

master
tonton Th 3 years ago
parent
commit
8873521b90
  1. 3
      funcs/fimg-png.c

3
funcs/fimg-png.c

@ -201,7 +201,8 @@ if (NULL==bytes) { @@ -201,7 +201,8 @@ if (NULL==bytes) {
/* compute max value */
maximum = (double)fimg_get_maxvalue(src);
fk = maximum / 255.0;
if (verbosity > 1) fprintf(stderr, "max val %g fk %g\n", maximum, fk);
if (verbosity > 1)
fprintf(stderr, "%s: max val %g fk %g\n", __func__, maximum, fk);
/* massage des pixels */
bptr = bytes;
for (idx=0; idx<sz; idx++) {

Loading…
Cancel
Save