1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group.                                               *
3  * Copyright by the Board of Trustees of the University of Illinois.         *
4  * All rights reserved.                                                      *
5  *                                                                           *
6  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
7  * terms governing use, modification, and redistribution, is contained in    *
8  * the COPYING file, which can be found at the root of the source code       *
9  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.  *
10  * If you do not have access to either file, you may request a copy from     *
11  * help@hdfgroup.org.                                                        *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 #ifndef _H5IMCC_H
15 #define _H5IMCC_H
16 
17 #include "H5LTprivate.h"
18 #include "H5IMprivate.h"
19 #include "H5f90i_gen.h"
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
25 
26 herr_t H5IMmake_image_8bitf( hid_t loc_id,
27                              const char *dset_name,
28                              hsize_t width,
29                              hsize_t height,
30                              int_f *buf );
31 
32 herr_t H5IMmake_image_24bitf( hid_t loc_id,
33                               const char *dset_name,
34                               hsize_t width,
35                               hsize_t height,
36                               const char *interlace,
37                               int_f *buf);
38 
39 herr_t H5IMread_imagef( hid_t loc_id,
40                         const char *dset_name,
41                         int_f *buf );
42 
43 herr_t H5IMmake_palettef( hid_t loc_id,
44                           const char *pal_name,
45                           const hsize_t *pal_dims,
46                           int_f *pal_data );
47 
48 herr_t H5IMget_palettef( hid_t loc_id,
49                          const char *image_name,
50                          int pal_number,
51                          int_f *pal_data );
52 
53 
54 #ifdef __cplusplus
55 }
56 #endif
57 
58 #endif
59