boost::gil::PixelConvertibleConcept
Pixel convertible concept Convertibility is non‐symmetric and implies that one pixel can be converted to another, approximating the color. Conversion is explicit and sometimes lossy.
Synopsis
Declared in <boost/gil/concepts/pixel.hpp>
template<
typename SrcP,
typename DstP>
struct PixelConvertibleConcept;
Description
template <PixelConcept SrcPixel, MutablePixelConcept DstPixel>
concept PixelConvertibleConcept
{
void color_convert(const SrcPixel&, DstPixel&);
};