forked from tTh/FloatImg
no more useless messages
This commit is contained in:
parent
2e2448b9c9
commit
b8a4514773
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user