aboutsummaryrefslogtreecommitdiffstats
path: root/include/YAGE/pico_png.hpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-04-02 09:19:32 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-04-02 09:19:32 +0100
commitaa67c8bb56cb750ac83ecbd361439f5ecb5e12d9 (patch)
treef1517a86654cf5457fa0b3aa6cfaea4bfa4eef36 /include/YAGE/pico_png.hpp
parent21a147c3c1c2fad2819fe76becab320c51eb131f (diff)
downloadYAGE-aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9.tar.gz
YAGE-aa67c8bb56cb750ac83ecbd361439f5ecb5e12d9.zip
Renamed includes
Diffstat (limited to 'include/YAGE/pico_png.hpp')
-rw-r--r--include/YAGE/pico_png.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/YAGE/pico_png.hpp b/include/YAGE/pico_png.hpp
new file mode 100644
index 00000000..ef123573
--- /dev/null
+++ b/include/YAGE/pico_png.hpp
@@ -0,0 +1,4 @@
+#include <vector>
+#include <cstdlib>
+
+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);