tryint that thing for the ravebish

This commit is contained in:
2019-06-29 23:50:03 +02:00
parent ea70dd78f6
commit c7d7c8b2dd
5 changed files with 130 additions and 1 deletions

27
lib/t.c Normal file
View 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;
}