start of libnetpbm integration

This commit is contained in:
2019-09-12 19:48:12 +02:00
parent 723319ea15
commit 8b185f02e2
4 changed files with 90 additions and 2 deletions

25
funcs/t.c Normal file
View File

@@ -0,0 +1,25 @@
/*
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <pam.h>
#include "../floatimg.h"
int fimg_pnm_infos(char *);
/* --------------------------------------------------------------------- */
int main(int argc, char *argv[])
{
int foo;
pnm_init(&argc, argv);
foo = fimg_pnm_infos("foo.pnm");
fprintf(stderr, "got %d\n", foo);
return 0;
}
/* --------------------------------------------------------------------- */