source: abuse/tags/pd/imlib/include/mdlread.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: 393 bytes
Line 
1#ifndef _MDL_READ_HPP_
2#define _MDL_READ_HPP_
3#include "palette.hpp"
4#include "image.hpp"
5
6// end ==-1 the read all images  startn==1 first image
7short mdl_total_images(char *fn);
8image **read_mdl(char *fn, palette *&pal, short startn, short endn, short &total);
9void write_mdl(image **images, short total_images, palette *pal,char *fn,
10                short firstpage=0, short images_per_page=20);
11
12#endif
Note: See TracBrowser for help on using the repository browser.