libdonut 2.3.6
Application framework for cross-platform game development in C++20
Loading...
Searching...
No Matches
Public Attributes | List of all members
donut::graphics::ImageSavePNGOptions Struct Reference

Options for saving an image in PNG format. More...

#include <donut/graphics/Image.hpp>

Public Attributes

int compressionLevel = 8
 PNG compression level.
 
bool flipVertically = false
 Flip the saved image vertically.
 

Detailed Description

Options for saving an image in PNG format.

Member Data Documentation

◆ compressionLevel

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.

◆ flipVertically

bool donut::graphics::ImageSavePNGOptions::flipVertically = false

Flip the saved image vertically.


The documentation for this struct was generated from the following file: