|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Options for saving an image in PNG format. More...
#include <GREM/resource/Image.hpp>
Public Types | |
| enum class | FilterType : uint8_t { NONE = 0 , SUB = 1 , UP = 2 , AVERAGE = 3 , PAETH = 4 } |
Public Attributes | |
| ImageSubresource | subresource |
| Subresource of the image to save. | |
| size_t | compressionLevel = 8 |
| Deflate compression level. | |
| Optional< FilterType > | filterTypeOverride {} |
| Specific PNG filter type to use instead of choosing automatically for each scanline. | |
Options for saving an image in PNG format.
|
strong |
| ImageSubresource grem::resource::ImageSavePNGOptions::subresource |
Subresource of the image to save.
| size_t grem::resource::ImageSavePNGOptions::compressionLevel = 8 |
Deflate compression level.
Higher values yield smaller compressed sizes at the cost of potentially slower compression/decompression speed and higher memory usage during compression.
| Optional<FilterType> grem::resource::ImageSavePNGOptions::filterTypeOverride {} |
Specific PNG filter type to use instead of choosing automatically for each scanline.