Bibliothèque de traitements d'images en virgule flottante. http://la.buvette.org/photos/cumul/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

31 lines
473 B

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "string.h"
#include "../floatimg.h"
int verbosity;
int main(int argc, char *argv[])
{
int foo;
FloatImg fimg;
int datas[3];
verbosity = 1;
foo = fimg_create(&fimg, 640, 480, 3);
printf("retour du truc ---> %d\n", foo);
fimg_printhead(&fimg);
// fimg_save_as_pnm(&fimg, "foo.pnm", 0);
foo = fimg_dump_to_file(&fimg, "foo.fimg", 0);
foo = fimg_fileinfos("foo.fimg", datas);
return 0;
}