tryint that thing for the ravebish
This commit is contained in:
27
lib/t.c
Normal file
27
lib/t.c
Normal file
@@ -0,0 +1,27 @@
|
||||
#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;
|
||||
|
||||
verbosity = 1;
|
||||
|
||||
foo = fimg_load_from_pnm("/tmp/00000.ppm", &fimg, 0);
|
||||
|
||||
printf("retour du truc %d\n", foo);
|
||||
|
||||
fimg_printhead(&fimg);
|
||||
|
||||
fimg_save_as_pnm(&fimg, "foo.pnm", 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user