Browse Source

no more semi-useless messages

master
le vieux 1 year ago
parent
commit
dcc23cabc3
  1. 8
      experiment/extracteur.c

8
experiment/extracteur.c

@ -105,8 +105,10 @@ if (3 != argc-optind) { @@ -105,8 +105,10 @@ if (3 != argc-optind) {
exit(1);
}
fprintf(stderr, "***%s %s %s\n", argv[0], __DATE__, __TIME__);
fimg_print_version(1);
if (verbosity) {
fprintf(stderr, "*** %s %s %s\n", argv[0], __DATE__, __TIME__);
fimg_print_version(1);
}
infile = argv[optind]; outfile = argv[optind+2];
fprintf(stderr, " %s -> %s\n", infile, outfile);
@ -127,7 +129,7 @@ if (4 != parse_rectangle( argv[optind+1], &zone, 0) ) { @@ -127,7 +129,7 @@ if (4 != parse_rectangle( argv[optind+1], &zone, 0) ) {
// zone.w = src.width / 2; zone.h = src.height / 2;
// 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);

Loading…
Cancel
Save