forked from tTh/FloatImg
making 'mkfimg' more quiet
This commit is contained in:
parent
f30d66eeb3
commit
51190aa1c4
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user