From 3a92fc816099e4493562d6c875627eb7f1548969 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 3 Oct 2007 22:59:24 +0200 Subject: don't use libnetpbm --- src/pnm.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/pnm.h (limited to 'src/pnm.h') 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 + +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); -- cgit v1.2.3