|
Porytiles
|
A service interface that saves a Palette to a given file. More...
#include <file_pal_saver.hpp>
Public Member Functions | |
| virtual | ~FilePalSaver ()=default |
| virtual ChainableResult< void > | save (const Palette< Rgba32 > &pal, const std::filesystem::path &path) const =0 |
A service interface that saves a Palette to a given file.
The FilePalSaver interface is file-format-agnostic. Different implementations can save to various pal file formats (e.g., JASC, .gbapal, etc.).
Definition at line 18 of file file_pal_saver.hpp.
|
virtualdefault |
|
pure virtual |
Implemented in porytiles2::JascPalSaver.