allons plutot boire un casanis...

This commit is contained in:
phyto
2019-07-03 18:51:42 +02:00
parent 9c845b5d04
commit b8d86da9a0
5 changed files with 42 additions and 3 deletions

View File

@@ -20,14 +20,13 @@ if (4 != argc) {
}
fname = argv[1];
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);
if (foo) {
fprintf(stderr, "create floatimg -> %d\n", foo);
exit(1);
}
// fimg_describe(&fimg, "just a black flimg");
fimg_clear(&fimg);
foo = fimg_dump_to_file(&fimg, fname, 0);