00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _H5IMpublic_H
00017 #define _H5IMpublic_H
00018
00019
00020 #ifdef __cplusplus
00021 extern "C" {
00022 #endif
00023
00024
00025 H5_HLDLL herr_t H5IMmake_image_8bit( hid_t loc_id,
00026 const char *dset_name,
00027 hsize_t width,
00028 hsize_t height,
00029 const unsigned char *buffer );
00030
00031 H5_HLDLL herr_t H5IMmake_image_24bit( hid_t loc_id,
00032 const char *dset_name,
00033 hsize_t width,
00034 hsize_t height,
00035 const char *interlace,
00036 const unsigned char *buffer );
00037
00038 H5_HLDLL herr_t H5IMget_image_info( hid_t loc_id,
00039 const char *dset_name,
00040 hsize_t *width,
00041 hsize_t *height,
00042 hsize_t *planes,
00043 char *interlace,
00044 hssize_t *npals );
00045
00046 H5_HLDLL herr_t H5IMread_image( hid_t loc_id,
00047 const char *dset_name,
00048 unsigned char *buffer );
00049
00050 H5_HLDLL herr_t H5IMmake_palette( hid_t loc_id,
00051 const char *pal_name,
00052 const hsize_t *pal_dims,
00053 const unsigned char *pal_data );
00054
00055 H5_HLDLL herr_t H5IMlink_palette( hid_t loc_id,
00056 const char *image_name,
00057 const char *pal_name );
00058
00059 H5_HLDLL herr_t H5IMunlink_palette( hid_t loc_id,
00060 const char *image_name,
00061 const char *pal_name );
00062
00063 H5_HLDLL herr_t H5IMget_npalettes( hid_t loc_id,
00064 const char *image_name,
00065 hssize_t *npals );
00066
00067 H5_HLDLL herr_t H5IMget_palette_info( hid_t loc_id,
00068 const char *image_name,
00069 int pal_number,
00070 hsize_t *pal_dims );
00071
00072 H5_HLDLL herr_t H5IMget_palette( hid_t loc_id,
00073 const char *image_name,
00074 int pal_number,
00075 unsigned char *pal_data );
00076
00077 H5_HLDLL herr_t H5IMis_image( hid_t loc_id,
00078 const char *dset_name );
00079
00080 H5_HLDLL herr_t H5IMis_palette( hid_t loc_id,
00081 const char *dset_name );
00082
00083 #ifdef __cplusplus
00084 }
00085 #endif
00086
00087 #endif