summaryrefslogtreecommitdiff
path: root/include/im_raw.h
blob: 073ad7dfb5b9f64623c7a3f41a3508fd79d6d4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/** \file
 * \brief RAW File Format
 *
 * See Copyright Notice in im_lib.h
 */

#ifndef __IM_RAW_H
#define __IM_RAW_H

#if	defined(__cplusplus)
extern "C" {
#endif


/** Opens a RAW image file.
 * See also \ref imErrorCodes.
 *
 * \verbatim im.FileOpenRaw(file_name: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim
 * \ingroup raw */
imFile* imFileOpenRaw(const char* file_name, int *error);
                   
/** Creates a RAW image file.
 * See also \ref imErrorCodes.
 *
 * \verbatim im.FileNewRaw(file_name: string) -> ifile: imFile, error: number [in Lua 5] \endverbatim
 * \ingroup raw */
imFile* imFileNewRaw(const char* file_name, int *error);
                   

#if defined(__cplusplus)
}
#endif

#endif