diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-10-03 22:59:24 +0200 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2007-10-03 22:59:24 +0200 |
| commit | 3a92fc816099e4493562d6c875627eb7f1548969 (patch) | |
| tree | c62c1a9eb09ce5d3cad65677caec583e6ba39882 /src/pnm.h | |
| parent | f7b56c6ff7f78a68aff10e98365058ea857a371f (diff) | |
don't use libnetpbm
Diffstat (limited to 'src/pnm.h')
| -rw-r--r-- | src/pnm.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/pnm.h b/src/pnm.h new file mode 100644 index 0000000..d2e9d01 --- /dev/null +++ b/src/pnm.h @@ -0,0 +1,13 @@ +#include <stdio.h> + +struct pnm { + int format; + int width; + int height; + int maxval; +}; + + +int readPnmHeader(FILE *fp, struct pnm *h); + +int writePnmHeader(FILE *fp, const struct pnm *h); |
