mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-10 04:12:23 +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
|
@ -91,7 +91,7 @@ bool WriteImage(const std::string& path, const ImagePixelData& image)
|
|||
}
|
||||
|
||||
return Common::SavePNG(path, buffer.data(), Common::ImageByteFormat::RGBA, image.width,
|
||||
image.height);
|
||||
image.height, image.width * 4);
|
||||
}
|
||||
|
||||
ImagePixelData Resize(ResizeMode mode, const ImagePixelData& src, u32 new_width, u32 new_height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue