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
commit 0ad2f3da45
No known key found for this signature in database
GPG key ID: 0DF30F9081000741
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