13 extern Colormap defcmp
;
16 void init_imagengine();
17 int im_convert_true_to_pseudo(PICINFO
& pic
,int max_colors
);
18 int im_getpixels(unsigned long* pt
);
19 Colormap
im_get_colormap();
20 void im_freecmp(Colormap XColorMap
,unsigned long *pt
,int iptnum
);
21 void im_populate_pallete(unsigned long* pal
);
22 void im_clear_global_pal();
24 Pixmap
LoadPixmap(char *fname
,int type
,int& l
,int& h
,int cmptype
=CMP_AUTO
);
25 Pixmap
LoadPixmapFromMem(char *fname
,int type
,int& l
,int& h
,int cmptype
=CMP_AUTO
,int siz
=0);
26 XImage
*LoadXImage(char *file
,int cmptype
,int type
);
27 XImage
* encoding256(PICINFO
& im
,int ncol
);
28 int LoadGIF(char* fname
,PICINFO
* pinfo
);
29 int deGIF(char* fbu
,PICINFO
* pinfo
,int fsiz
);
30 extern "C" int LoadPCD(char* fname
,PICINFO
* pinfo
);
31 extern "C" int LoadPNG(char *fname
,PICINFO
* pinfo
);
32 int LoadXBM(char* fname
,PICINFO
* pinfo
);
33 int LoadXPM(char* fname
,PICINFO
* pinfo
);
34 int LoadTarga(char* fname
,PICINFO
* pinfo
);
35 extern "C" int LoadTIFF(char* ,PICINFO
*);
36 int autodetect(char*);
37 void im_reset_coding();
39 extern int im_find_closest_color(XColor
* orig
, XColor
* tocol
);
40 extern Status
im_AllocColor(Display
* d
, Colormap cmap
, XColor
*cl
);
41 extern void (*im_coding256
)(char **,int);
42 extern void im_256truecoding(char**,int);
43 extern void im_init_translation();
44 extern "C" int LoadJFIF(char *fname
, PICINFO
*pinfo
);
45 extern "C" int LoadPCX(char *fname
, PICINFO
*pinfo
);
46 extern int LoadBMP(char *fname
, PICINFO
*pinfo
);
47 extern "C" void x11_create_lut(unsigned long, unsigned long, unsigned long);
48 extern "C" void set_method(int method
);
52 //////////////////////////////////////////End of file///////////////////////////////////////////
54 /* ------------ End of file -------------- */