pcompress/filters/packpnm/ppnmtbl.h
2014-09-11 18:34:43 +05:30

32 lines
678 B
C

/* -----------------------------------------------
defines for use in packPNM processing
----------------------------------------------- */
// action defines
#define A_COMPRESS 1
#define A_PGM_DUMP 2
#define A_NFO_DUMP 3
// file type defines
#define F_PNM 1
#define F_PPN 2
#define F_UNK 0
// sub type defines
#define S_PBM 1
#define S_PGM 2
#define S_PPM 3
#define S_BMP 4
#define S_HDR 5
#define S_UNK 0
// color model defines
#define C_MONO 1
#define C_GRAY 2
#define C_RGBA 3
#define C_RGBE 4
#define C_UNK 0
// endianess defines
#define E_BIG 0 // false
#define E_LITTLE 1 // true