no more semi-useless messages

This commit is contained in:
le vieux 2021-04-16 12:34:45 +02:00
parent 9cf60526d7
commit dcc23cabc3
1 changed files with 5 additions and 3 deletions

View File

@ -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) ) {
// 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);