imColorCMYK2RGB

Converts C'M'Y'K' to R'G'B' (all nonlinear). \n * This is a poor conversion that works for a simple visualization. \verbatim 0 <= CMYK <= 1 ; 0 <= RGB <= 1

R = (1 - K) * (1 - C) G = (1 - K) * (1 - M) B = (1 - K) * (1 - Y) \endverbatim * \ingroup color

version(IM)
pure nothrow @nogc @safe
void
imColorCMYK2RGB
(
T
)
(
const T C
,
const T M
,
const T Y
,
const T K
,
ref T R
,
ref T G
,
ref T B
,
ref const(T) max
)
if (
isNumeric!T
)

Meta