mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-23 22:55:39 +00:00
2d9fbfaf6f
Fixed window icon being upside down.
12 lines
316 B
C++
12 lines
316 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include <FreeImage.h>
|
|
|
|
|
|
class ImageIO
|
|
{
|
|
public:
|
|
static std::vector<unsigned char> loadFromMemoryRGBA32(const unsigned char * data, const size_t size, size_t & width, size_t & height);
|
|
static void flipPixelsVert(unsigned char* imagePx, const size_t& width, const size_t& height);
|
|
}; |