source: abuse/tags/pd/macabuse/imlib/include/pcxread.hpp @ 49

Last change on this file since 49 was 49, checked in by Sam Hocevar, 11 years ago
  • Imported original public domain release, for future reference.
File size: 351 bytes
Line 
1#ifndef __PCX_READ_HPP__
2#define __PCX_READ_HPP__
3
4#include "image.hpp"
5#include "image24.hpp"
6#include "palette.hpp"
7
8enum PCX_type { not_PCX, PCX_8, PCX_24 };
9
10PCX_type PCX_file_type(char *filename);
11image24 *read_PCX24(char *filename);
12image *read_PCX(char *filename, palette *&pal);
13void write_PCX(image *im, palette *pal,char *filename);
14
15#endif
Note: See TracBrowser for help on using the repository browser.