#include #include "lodepng.h" extern "C" unsigned lodepng_esp_decode32(unsigned char **out, unsigned *w, unsigned *h, const unsigned char *in, size_t insize) { return lodepng_decode32(out, w, h, in, insize); } extern "C" const char *lodepng_esp_error_text(unsigned code) { return lodepng_error_text(code); }