18 explicit JascPalSaver(gsl::not_null<const TextFormatter *> format) : format_{format} {}
A result type that maintains a chainable sequence of errors for debugging and error reporting.
A service interface that saves a fixed-length Palette to a given file.
An implementation of FilePalSaver that saves palettes to JASC-PAL (Paintshop Pro) pal files.
ChainableResult< void > save(const Palette< Rgba32, pal::max_size > &pal, const std::filesystem::path &path) const override
JascPalSaver(gsl::not_null< const TextFormatter * > format)
A generic palette container for colors that support transparency checking.
Abstract base class for applying text styling with context-aware formatting.