forked from tTh/FloatImg
do not be verbose on that...
This commit is contained in:
parent
adc08ce777
commit
21a6d792d5
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user