00001
00002
00003
00004
00005 #ifndef __IMAGER_TIFF_H
00006 #define __IMAGER_TIFF_H
00007
00008 short swap_msb_lsb (short x);
00009
00010 char is_tiff (const char* filename);
00011 int tiffread (image_type* img, const char* filename);
00012 int tiffwrite (char* fname, image_type* img, int comp, char* comment, int st, int en);
00013
00014 char is_vsrt (const char* filename);
00015 int vsrtread (image_type* img, const char* filename, int isflt);
00016 int vsrtwrite (image_type* img, const char* filename, int st, int en);
00017
00018 int raw_write (image_type* img, const char* filename, int st, int en);
00019 int DX_write (image_type* img, const char* filename, int st, int en, float zscale);
00020
00021 int pnm_write (image_type* img, const char* filename, int st, int en);
00022
00023 char get_filetype (const char* filename);
00024
00025 void save_main (image_type* img);
00026
00027 #endif
00028