#pragma once // Reading IMVU's images (Pixmap) through pixmap.dll's exported methods, rather than depending on their layout. #include #include #include "t5de/imvu/types.hpp" namespace t5de { struct PixmapPixels { std::uint32_t width; std::uint32_t height; std::uint32_t rowBytes; const std::uint32_t* pixels; // 0xAARRGGBB, rows rowBytes apart }; // Null if pixmap.dll's methods can't be found. std::optional pixmap_pixels(const imvu::Pixmap& pixmap); } // namespace t5de