• Main Page
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

imagefile.h

Go to the documentation of this file.
00001 
00005 #ifndef __IMAGEFILE_H
00006 #define __IMAGEFILE_H
00007 
00008 #include <im.h>
00009 #include <im_image.h>
00010 #include <im_util.h>
00011 
00012 
00014 struct imlabImageFile
00015 {
00016   char filename[10240];
00017   char format[10];
00018   char compression[20];
00019   int changed, index;
00020   imImage* image;
00021 };
00022 
00024 imlabImageFile** imlabImageFileOpen(const char* filename, int index);
00025 
00027 imlabImageFile* imlabImageFileNew(int width, int height, int color_mode, int data_type);
00028 
00030 imlabImageFile* imlabImageFileCreate(imImage* image);
00031 
00033 int imlabImageFileSave(imlabImageFile** file_list, int image_count);
00034 
00036 void imlabImageFileDestroy(imlabImageFile* file, int kill_image);
00037 
00038 
00039 /**************************************************************************************/
00040 
00041 
00043 int imlabRawLoadImage(const char* filename, imImage* image, int top_down, 
00044                       int switch_type, int byte_order, int is_packed, int padding, int start_offset, int ascii);
00045                    
00047 int imlabRawSaveImage(const char* filename, imImage* image, int top_down, 
00048                       int switch_type, int byte_order, int is_packed, int padding, int start_offset, int ascii);
00049 
00050 
00051 #endif  /* __IMAGEFILE_H */

Generated on Wed Jan 9 2019 09:48:59 for IMLAB by  doxygen 1.7.1