efros_freeman
0.1
Main Page
Related Pages
Data Structures
Files
File List
Globals
io_png.h
Go to the documentation of this file.
1
#ifndef _IO_PNG_H
2
#define _IO_PNG_H
3
4
#ifdef __cplusplus
5
extern
"C"
{
6
#endif
7
8
#define IO_PNG_VERSION "0.20110825"
9
10
#include <stddef.h>
11
12
/* io_png.c */
13
char
*
io_png_info
(
void
);
14
unsigned
char
*
io_png_read_u8
(
const
char
*fname,
size_t
*nxp,
15
size_t
*nyp,
size_t
*ncp);
16
unsigned
char
*
io_png_read_u8_rgb
(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
17
unsigned
char
*
io_png_read_u8_gray
(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
18
float
*
io_png_read_f32
(
const
char
*fname,
size_t
*nxp,
19
size_t
*nyp,
size_t
*ncp);
20
float
*
io_png_read_f32_rgb
(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
21
float
*
io_png_read_f32_gray
(
const
char
*fname,
size_t
*nxp,
size_t
*nyp);
22
int
io_png_write_u8
(
const
char
*fname,
const
unsigned
char
*data,
23
size_t
nx,
size_t
ny,
size_t
nc);
24
int
io_png_write_f32
(
const
char
*fname,
const
float
*data,
25
size_t
nx,
size_t
ny,
size_t
nc);
26
27
#ifdef __cplusplus
28
}
29
#endif
30
31
#endif
/* !_IO_PNG_H */
Generated on Tue Dec 20 2016 13:56:24 for efros_freeman by
1.8.1.2