1 #ifndef IMAGE_WIDGET_H
2 #define IMAGE_WIDGET_H
3 
4 #include "3dkit.h"
5 
6 void grey_scale_to_pixels (void *pixdata, unsigned char *data, int width, int height, int bytedepth);
7 
8 unsigned char *load_targa_to_grey (const char *fname, long *width, long *height, long rowstart, long rowend);
9 
10 int write_targa (unsigned char *pic8, const char *fname, long w, long h, int grey);
11 
12 void color_8bit_to_pixels (void *pixdata, unsigned char *data, int width, int height, int bytedepth);
13 
14 #endif
15 
16