forked from tTh/FloatImg
26 lines
443 B
C
26 lines
443 B
C
|
/*
|
||
|
*/
|
||
|
|
||
|
#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;
|
||
|
}
|
||
|
/* --------------------------------------------------------------------- */
|