Boost GIL


Public Member Functions | List of all members
default_color_converter_impl< cmyk_t, rgb_t > Struct Template Reference

CMYK to RGB (not the fastest code in the world) More...

#include <color_convert.hpp>

Public Member Functions

template<typename P1 , typename P2 >
void operator() (const P1 &src, P2 &dst) const
 

Detailed Description

template<>
struct boost::gil::default_color_converter_impl< cmyk_t, rgb_t >

CMYK to RGB (not the fastest code in the world)

r = 1 - min(1, c*(1-k)+k) g = 1 - min(1, m*(1-k)+k) b = 1 - min(1, y*(1-k)+k)


The documentation for this struct was generated from the following file: