You.i Engine
YiBitmapUtilitiesPNG.h
Go to the documentation of this file.
1 #ifndef _YI_BITMAP_UTILITIES_PNG_H_
2 #define _YI_BITMAP_UTILITIES_PNG_H_
3 
4 #include "framework/YiPredef.h"
5 
6 #include <vector>
7 
8 class CYIBitmap;
9 class CYIString;
10 
24 {
25 public:
33  static bool SavePNG(const CYIBitmap *pBitmap, const CYIString &filename);
34 
41  static bool BitmapToPNG(const CYIBitmap *pBitmap, std::vector<uint8_t> *pOut);
42 };
43 
46 #endif // !_YI_BITMAP_UTILITIES_PNG_H_
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:32
The core bitmap container class used by You.i Engine.
Definition: YiBitmap.h:20
static bool BitmapToPNG(const CYIBitmap *pBitmap, std::vector< uint8_t > *pOut)
Utility class used to perform PNG image operations in software.
Definition: YiBitmapUtilitiesPNG.h:23
static bool SavePNG(const CYIBitmap *pBitmap, const CYIString &filename)