YAGE
v0.1.1
Yet Another Game Engine
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
core
picopng.h
Generated on Thu Nov 16 2017 21:50:38 for YAGE by
1.8.6