Version 0.3
[colorize.git] / src / ppm.h
1 extern int save_depth;
2 int load_img(int offset, unsigned short **buffer, int *width, int *height, const char *filename, int index);
3 int save_img(unsigned short *buffer, int width, int height, const char *filename, int index);
4 void img2array(unsigned short *img, int iw, int ih, double *array, int aw, int ah);
5 void array2img(double *array, int aw, int ah, unsigned short *img, int iw, int ih);
6