YAGE
v0.1.1
Yet Another Game Engine
picopng.h
Go to the documentation of this file.
1
/* ----------------------------------------------------------------------------
2
* picopng.h
3
*
4
* Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
5
* See file LICENSE for more details
6
* ----------------------------------------------------------------------------
7
*/
8
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
yage::decodePNG
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
yage
Project namespace.
Definition:
body.cpp:13
include
YAGE
picopng.h
Generated on Sun Sep 3 2017 12:13:49 for YAGE by
1.8.13