do not be verbose on that...

This commit is contained in:
tth 2019-09-29 00:12:31 +02:00
parent adc08ce777
commit 21a6d792d5

View File

@ -164,10 +164,12 @@ switch(head->type) {
fprintf(fp, "%s\n%d %d\n", code, head->width, head->height); fprintf(fp, "%s\n%d %d\n", code, head->width, head->height);
if ( flags & 1 ) { 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; 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); fprintf(fp, "# fval/count %f %d\n", head->fval, head->count);
} }
else { else {