better verbose display in fimgops
This commit is contained in:
parent
23ce4cd337
commit
e454404f97
@ -84,8 +84,8 @@ switch (action) {
|
|||||||
case OP_SUB:
|
case OP_SUB:
|
||||||
foo = fimg_sub_3(A, B, D); break;
|
foo = fimg_sub_3(A, B, D); break;
|
||||||
case OP_MIX:
|
case OP_MIX:
|
||||||
if (verbosity) fprintf(stderr, "fvalue is %f\n",
|
if (verbosity) fprintf(stderr, "%s: fvalue is %f\n",
|
||||||
global_fvalue);
|
__func__, global_fvalue);
|
||||||
foo = fimg_interpolate(A, B, D, global_fvalue);
|
foo = fimg_interpolate(A, B, D, global_fvalue);
|
||||||
break;
|
break;
|
||||||
case OP_MUL:
|
case OP_MUL:
|
||||||
@ -147,7 +147,7 @@ if ((foo=fimg_create_from_dump(argv[optind+1], &srcB))) {
|
|||||||
exit(3);
|
exit(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (verbosity) { /* please, debug me */
|
if (verbosity > 1) { /* please, debug me */
|
||||||
fimg_describe(&srcA, argv[optind]);
|
fimg_describe(&srcA, argv[optind]);
|
||||||
fimg_describe(&srcB, argv[optind+1]);
|
fimg_describe(&srcB, argv[optind+1]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user