Browse Source

better verbose messages

master
tth 2 years ago
parent
commit
b35f72f9c2
  1. 6
      tools/fimg2png.c

6
tools/fimg2png.c

@ -28,7 +28,8 @@ if (foo) { @@ -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) { @@ -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…
Cancel
Save