aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/picopng.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/YAGE/picopng.hpp')
-rw-r--r--include/YAGE/picopng.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/YAGE/picopng.hpp b/include/YAGE/picopng.hpp
new file mode 100644
index 00000000..8fea4f0d
--- /dev/null
+++ b/include/YAGE/picopng.hpp
@@ -0,0 +1,9 @@
+#include <vector>
+#include <cstdlib>
+
+namespace yage
+{
+
+extern int decodePNG(std::vector<unsigned char> &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32 = true);
+
+} // yage