#ifndef _TUI_PNG_H_
#define _TUI_PNG_H_

#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif


	uint32_t validatePng(
		uint8_t * png_buf,	// buffer to png image
		uint32_t buf_len,	// png buffer length
		uint32_t * width,	// png image width
		uint32_t * height
	);

	void getPngWidthAndHeight(uint8_t* image, uint32_t* width, uint32_t* height);

#ifdef __cplusplus
}
#endif


#endif // _TUI_PNG_H_