|
Haio 0.2.X
Homebrew Asset IO/CDN
|
#include <haio_palette.hpp>#include <haio_util.hpp>#include <algorithm>#include <array>#include <cmath>#include <limits>#include <string>
Go to the source code of this file.
Namespaces | |
| namespace | Haio |
Functions | |
| std::optional< Dither > | Haio::ditherNamed (std::string_view name) |
| std::optional< Limit > | Haio::limitNamed (std::string_view name) |
| Result< std::vector< uint32_t > > | Haio::limitPalette (const Image< Color::RGBA8888 > &image, std::vector< uint32_t > entries, size_t most, Limit how) |
| Result< Image< Color::PALETTE > > | Haio::toPalette (const Image< Color::RGBA8888 > &image, std::vector< uint32_t > entries, Dither how) |