no more useless messages

This commit is contained in:
phyto 2021-04-07 21:25:15 +02:00
parent 2e2448b9c9
commit b8a4514773
1 changed files with 7 additions and 5 deletions

View File

@ -34,9 +34,11 @@ int xs, ys, xd, yd;
int count;
float rgb[3];
fimg_describe(in, "source");
fimg_describe(out, "destination");
print_rectangle(rect);
if (verbosity) {
fimg_describe(in, "source");
fimg_describe(out, "destination");
print_rectangle(rect);
}
count = 0;
for (yd=0; yd<rect->h; yd++) {
@ -53,7 +55,7 @@ for (yd=0; yd<rect->h; yd++) {
}
fprintf(stderr, "%s: %d pix moved\n", __func__, count);
// fprintf(stderr, "%s: %d pix moved\n", __func__, count);
return 0;
}
@ -67,7 +69,7 @@ Rectangle zone;
char *infile = "foo.fimg";
char *outfile = "out.fimg";
verbosity = 1;
verbosity = 0;
if (3 != argc) {
fprintf(stderr, "usage\n\t %s infile.fimg outfile.???\n",