|
Porytiles
|
An image saver that saves PNG files from an Image with an Rgba32 pixel type. More...
#include <png_rgba_image_saver.hpp>
Public Member Functions | |
| PngRgbaImageSaver ()=default | |
| virtual | ~PngRgbaImageSaver ()=default |
| virtual ChainableResult< void > | save_to_file (const Image< Rgba32 > &image, const std::filesystem::path &path) const |
An image saver that saves PNG files from an Image with an Rgba32 pixel type.
This saver's underlying implementation uses the png++ wrapper for libpng to write PNG data from an rgba Image. However, these external library details are entirely encapsulated within the implementation. Users of the Porytiles library need not concern themselves with png++ details.
Definition at line 19 of file png_rgba_image_saver.hpp.
|
default |
|
virtualdefault |
|
virtual |
Definition at line 15 of file png_rgba_image_saver.cpp.