Core: Remove ImageWrite and get rid of -Wmissing-declarations warnings

This commit is contained in:
Léo Lam
2020-12-16 15:34:50 +01:00
parent eafe005672
commit 0ad2f3da45
10 changed files with 57 additions and 103 deletions

View File

@ -22,4 +22,9 @@ enum class ImageByteFormat
bool SavePNG(const std::string& path, const u8* input, ImageByteFormat format, u32 width,
u32 height, int stride = 0);
bool ConvertRGBAToRGBAndSavePNG(const std::string& path, const u8* input, u32 width, u32 height,
int stride = 0);
std::vector<u8> RGBAToRGB(const u8* input, u32 width, u32 height, int row_stride = 0);
} // namespace Common