no more useless messages
This commit is contained in:
parent
2e2448b9c9
commit
b8a4514773
@ -34,9 +34,11 @@ int xs, ys, xd, yd;
|
|||||||
int count;
|
int count;
|
||||||
float rgb[3];
|
float rgb[3];
|
||||||
|
|
||||||
|
if (verbosity) {
|
||||||
fimg_describe(in, "source");
|
fimg_describe(in, "source");
|
||||||
fimg_describe(out, "destination");
|
fimg_describe(out, "destination");
|
||||||
print_rectangle(rect);
|
print_rectangle(rect);
|
||||||
|
}
|
||||||
|
|
||||||
count = 0;
|
count = 0;
|
||||||
for (yd=0; yd<rect->h; yd++) {
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -67,7 +69,7 @@ Rectangle zone;
|
|||||||
char *infile = "foo.fimg";
|
char *infile = "foo.fimg";
|
||||||
char *outfile = "out.fimg";
|
char *outfile = "out.fimg";
|
||||||
|
|
||||||
verbosity = 1;
|
verbosity = 0;
|
||||||
|
|
||||||
if (3 != argc) {
|
if (3 != argc) {
|
||||||
fprintf(stderr, "usage\n\t %s infile.fimg outfile.???\n",
|
fprintf(stderr, "usage\n\t %s infile.fimg outfile.???\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user