making 'mkfimg' more quiet

This commit is contained in:
phyto 2019-06-30 17:50:34 +02:00
parent f30d66eeb3
commit 51190aa1c4

View File

@ -20,14 +20,14 @@ if (4 != argc) {
} }
fname = argv[1]; fname = argv[1];
width = atoi(argv[2]); height = atoi(argv[3]); width = atoi(argv[2]); height = atoi(argv[3]);
fprintf(stderr, "making %s %d x %d\n", fname, width, height); fprintf(stderr, "making %s %d x %d\n", fname, width, height);
foo = fimg_create(&fimg, width, height, 3); foo = fimg_create(&fimg, width, height, 3);
if (foo) { if (foo) {
fprintf(stderr, "create floatimg -> %d\n", foo); fprintf(stderr, "create floatimg -> %d\n", foo);
exit(1); exit(1);
} }
fimg_describe(&fimg, "just a black flimg"); // fimg_describe(&fimg, "just a black flimg");
fimg_clear(&fimg); fimg_clear(&fimg);
foo = fimg_dump_to_file(&fimg, fname, 0); foo = fimg_dump_to_file(&fimg, fname, 0);