// SPDX-License-Identifier: MIT // // ES-DE // ImageIO.h // // Image I/O functions. // #ifndef ES_CORE_IMAGE_IO #define ES_CORE_IMAGE_IO #include #include class ImageIO { public: static std::vector 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); }; #endif // ES_CORE_IMAGE_IO