forked from tTh/FloatImg
better verbose messages
This commit is contained in:
parent
7c378f1f7e
commit
b35f72f9c2
@ -28,7 +28,8 @@ if (foo) {
|
||||
}
|
||||
|
||||
if (verbosity) {
|
||||
fprintf(stderr, "image '%s' is %d x %d %s\n",
|
||||
fprintf(stderr, "%s: image '%s' is %d x %d %s\n",
|
||||
__func__,
|
||||
srcname, infos[0], infos[1],
|
||||
fimg_str_type(infos[2]));
|
||||
}
|
||||
@ -45,7 +46,8 @@ if (grisaille) {
|
||||
|
||||
foo = fimg_save_as_png(&fimg, dstname, 0);
|
||||
if (foo) {
|
||||
fprintf(stderr, "saving as png '%s' -> %d\n", dstname, foo);
|
||||
fprintf(stderr, "%s: saving as png '%s' -> %d\n", __func__,
|
||||
dstname, foo);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user