#ifndef PNGSAVE_H #define PNGSAVE_H #include #include bool savePng(const char *filename, char *pixels, int w, int h); bool savePngI16(const char *filename, uint16_t *pixels, int w, int h); bool savePngI8(const char *filename, uint8_t *pixels, int w, int h); #endif