Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   Related Pages   Examples  

imlib_io.h

00001 /* Copyright (c) 2001 C. Grigorescu */
00002 
00003 #ifndef _IMLIB_IO_H_
00004 #define _IMLIB_IO_H_
00005 
00006 int read_size(char *filename, int *width, int *height);
00007 template <class T> T *read_image(char *filename, int *width, int *height);
00008 unsigned char *read_RGB_image(char *filename, int *width, int *height);
00009 template <class T> int write_image(char *, int, int, T *);
00010 int write_RGB_image(char *filename, int width, int height, unsigned char *image);
00011 template <class T> int show_image(T *, int, int, char *);
00012 int show_RGB_image(unsigned char *image, int width, int height, char *name);
00013 
00014 #endif