Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
Haio::Codecs::Convertible Concept Reference

#include <haio_codec.hpp>

Concept definition

template<Color From, Color To>
concept Convertible = requires (Image<From> i) { { Convert<From, To>(std::move(i)) } -> std::same_as<Result<Image<To>>>; }
Result< Image< To > > Convert(Image< From >)=delete

Detailed Description

is there a whole image conversion from one colour to the other, asked of the pair rather than answered by hand.

Definition at line 237 of file haio_codec.hpp.