CMYK to RGB
CMYK channels are percentages: cyan, magenta, yellow, and key (black). For CMYK to RGB, convert each percentage to a fraction, then calculate R = 255 * (1 - C) * (1 - K), G = 255 * (1 - M) * (1 - K), and B = 255 * (1 - Y) * (1 - K). The 8-bit results are rounded.