Added png::write_image

This commit is contained in:
MihailRis
2023-11-13 14:02:18 +03:00
parent 744e473e47
commit d42d2dc294
2 changed files with 147 additions and 22 deletions
+2
View File
@@ -2,12 +2,14 @@
#define CODERS_PNG_H_
#include <string>
#include "../typedefs.h"
class Texture;
class ImageData;
namespace png {
extern ImageData* load_image(std::string filename);
extern void write_image(std::string filename, const ImageData* image);
extern Texture* load_texture(std::string filename);
}