forked from tTh/FloatImg
no more semi-useless messages
This commit is contained in:
parent
9cf60526d7
commit
dcc23cabc3
@ -105,8 +105,10 @@ if (3 != argc-optind) {
|
|||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
fprintf(stderr, "***%s %s %s\n", argv[0], __DATE__, __TIME__);
|
if (verbosity) {
|
||||||
fimg_print_version(1);
|
fprintf(stderr, "*** %s %s %s\n", argv[0], __DATE__, __TIME__);
|
||||||
|
fimg_print_version(1);
|
||||||
|
}
|
||||||
|
|
||||||
infile = argv[optind]; outfile = argv[optind+2];
|
infile = argv[optind]; outfile = argv[optind+2];
|
||||||
fprintf(stderr, " %s -> %s\n", infile, outfile);
|
fprintf(stderr, " %s -> %s\n", infile, outfile);
|
||||||
@ -127,7 +129,7 @@ if (4 != parse_rectangle( argv[optind+1], &zone, 0) ) {
|
|||||||
// zone.w = src.width / 2; zone.h = src.height / 2;
|
// zone.w = src.width / 2; zone.h = src.height / 2;
|
||||||
// zone.x = src.width / 4 ; zone.y = src.height / 4;
|
// zone.x = src.width / 4 ; zone.y = src.height / 4;
|
||||||
|
|
||||||
print_rectangle(&zone);
|
if (verbosity) print_rectangle(&zone);
|
||||||
|
|
||||||
foo = fimg_create(&dst, zone.w, zone.h, FIMG_TYPE_RGB);
|
foo = fimg_create(&dst, zone.w, zone.h, FIMG_TYPE_RGB);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user