16 lines
407 B
C
16 lines
407 B
C
#ifndef _PNG_H
|
|
#define _PNG_H
|
|
|
|
int cammy_png_save(const char *file,
|
|
void *buf,
|
|
size_t width,
|
|
size_t height,
|
|
int depth,
|
|
int format);
|
|
|
|
uint8_t *cammy_png_load(const char *file,
|
|
size_t *width,
|
|
size_t *height,
|
|
int *depth);
|
|
|
|
#endif /* _PNG_H */
|