YAGE  v0.1.3
Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
picopng.h
Go to the documentation of this file.
1 
9 #include <cstdlib>
10 #include <vector>
11 
12 namespace yage
13 {
14 
15 extern int decodePNG(std::vector<unsigned char> &out_image,
16  unsigned long &image_width, unsigned long &image_height,
17  const unsigned char *in_png, size_t in_size,
18  bool convert_to_rgba32 = true);
19 
20 } // namespace yage
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)
Definition: picopng.cpp:34