Browse Source

do not be verbose on that...

master
tth 3 years ago
parent
commit
21a6d792d5
  1. 8
      lib/fimg-pnm.c

8
lib/fimg-pnm.c

@ -164,10 +164,12 @@ switch(head->type) { @@ -164,10 +164,12 @@ switch(head->type) {
fprintf(fp, "%s\n%d %d\n", code, head->width, head->height);
if ( flags & 1 ) {
fprintf(stderr, "%s using fval/count %f %d -> %f\n", __func__,
head->fval, head->count,
head->fval * head->count);
fk = (head->fval * head->count) / 65535.0;
if (verbosity > 1) {
fprintf(stderr, "%s using fval/count %f %d -> %f\n",
__func__,
head->fval, head->count, fk);
}
fprintf(fp, "# fval/count %f %d\n", head->fval, head->count);
}
else {

Loading…
Cancel
Save