libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Options for saving an image in PNG format. More...
#include <donut/graphics/Image.hpp>
Public Attributes | |
int | compressionLevel = 8 |
PNG compression level. More... | |
bool | flipVertically = false |
Flip the saved image vertically. More... | |
Options for saving an image in PNG format.
int donut::graphics::ImageSavePNGOptions::compressionLevel = 8 |
PNG compression level.
Use a higher value for a higher degree of compression and smaller file size at the cost of encoding/decoding performance. The compression is lossless.
bool donut::graphics::ImageSavePNGOptions::flipVertically = false |
Flip the saved image vertically.