blob: 6a85500b1b54261d91bf05e2f9812df2454a22f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* Copyright 2008 Johannes Hofmann <Johannes.Hofmann@gmx.de>
*
* This software may be used and distributed according to the terms
* of the GNU General Public License, incorporated herein by reference.
*/
#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);
|