diff --git a/lib/fimg-pnm.c b/lib/fimg-pnm.c index 16656a65..1d60af60 100644 --- a/lib/fimg-pnm.c +++ b/lib/fimg-pnm.c @@ -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 {