diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-02 09:15:30 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-04-02 09:15:30 +0100 |
commit | 21a147c3c1c2fad2819fe76becab320c51eb131f (patch) | |
tree | 9114123be1d9165a199d8b27af8f9b4e00333e71 /include/yage/pico_png.hpp | |
download | YAGE-21a147c3c1c2fad2819fe76becab320c51eb131f.tar.gz YAGE-21a147c3c1c2fad2819fe76becab320c51eb131f.zip |
Adding initial files
Diffstat (limited to 'include/yage/pico_png.hpp')
-rw-r--r-- | include/yage/pico_png.hpp | 4 |
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); |