17 lines
319 B
C
17 lines
319 B
C
|
#ifndef _INC_PNGFILE_H
|
||
|
#define _ING_PNGFILE_H
|
||
|
|
||
|
|
||
|
#include <PNGDEC.h>
|
||
|
#include <stdint.h>
|
||
|
|
||
|
#include <FS.h>
|
||
|
|
||
|
|
||
|
void *png_open(const char *filename, int32_t *size);
|
||
|
void png_close(void *handle);
|
||
|
int32_t png_read(PNGFILE *handle, uint8_t *buffer, int32_t length);
|
||
|
int32_t png_seek(PNGFILE *handle, int32_t position);
|
||
|
|
||
|
|
||
|
#endif
|