A result type that maintains a chainable sequence of errors for debugging and error reporting.
A template for two-dimensional images with arbitrarily typed pixel values.
An image saver that saves PNG files from an Image with an index pixel type.
PngIndexedImageSaver()=default
virtual ChainableResult< void > save_to_file(const Image< IndexPixel > &image, const std::filesystem::path &path, TilesPalMode mode) const
virtual ~PngIndexedImageSaver()=default