16 explicit JascPaletteSaver(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 FilePaletteSaver that saves palettes to JASC-PAL (Paintshop Pro) palette files.
JascPaletteSaver(gsl::not_null< const TextFormatter * > format)
ChainableResult< void > save(const Palette< Rgba32, palette::max_size > &palette, const std::filesystem::path &path) const override
A generic palette container for colors that support transparency checking.
Abstract base class for applying text styling with context-aware formatting.