mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
Add option for setting the PNG zlib compression level
This commit is contained in:
parent
6f4bbac528
commit
94ccf765af
12 changed files with 125 additions and 30 deletions
|
@ -20,9 +20,9 @@ enum class ImageByteFormat
|
|||
};
|
||||
|
||||
bool SavePNG(const std::string& path, const u8* input, ImageByteFormat format, u32 width,
|
||||
u32 height, int stride = 0);
|
||||
u32 height, int stride, int level = 6);
|
||||
bool ConvertRGBAToRGBAndSavePNG(const std::string& path, const u8* input, u32 width, u32 height,
|
||||
int stride = 0);
|
||||
int stride, int level);
|
||||
|
||||
std::vector<u8> RGBAToRGB(const u8* input, u32 width, u32 height, int row_stride = 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue