Search for a tool
CMYK Channels

Tool to decompose an image in print colors. The separation of the CMYK channels (for the 4 colors Cyan, Magenta, Yellow and Key for Black) is used to analyze the colors of each part of an image.

Results

CMYK Channels -

Tag(s) : Image processing

Share
Share
dCode and you

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our community Discord for help requests!


Thanks to your feedback and relevant comments, dCode has developped the best CMYK Channels tool, so feel free to write! Thank you !

CMYK Channels

Cyan/Magenta/Yellow/Black Channels Separation

  [X]


Tool to decompose an image in print colors. The separation of the CMYK channels (for the 4 colors Cyan, Magenta, Yellow and Key for Black) is used to analyze the colors of each part of an image.

Answers to Questions

How to separate CMYK values of an image?

The image will be analyzed in printing color components (4 layers). There are four main colors when printing: Cyan, Magenta, Yellow and Black.

The result will be returned in grayscale for each color. Between 0 for no color and 1 for pure color.

Example: The dCode logo do not have any Cyan (light blue)

cyan

Example: For magenta the C is kightly visible

magenta

Example: The dominant yellow is very visible

yellow

Example: The black draws the contours of the image

key

In order to accelerate the calculation of channel separation, the image will be resized if it is too large.

How to calculate CMYK values from RGB values?

From RGB values $ R $, $ V $ and $ B $ between $ 0 $ and $ 1 $ (divide by 255 if the values are between 0 and 255)

CMYK values are calculated using formulas:

$$ K = 1-max(R, G, B) \\ C = (1-R-K) / (1-K) \\ M = (1-G-K) / (1-K) \\ J = (1-B-K) / (1-K) $$

Why 'K' in CMYK?

In English, CMYK (instead of CMYB) stands for Cyan, Magenta, Yellow and Black. To not use the B letter for Black (as B stands for Blue in RGB code), term Key is preferred (the black component is often the most important when printing : the key)

Source code

dCode retains ownership of the online 'CMYK Channels' tool source code. Except explicit open source licence (indicated CC / Creative Commons / free), any algorithm, applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, translator), or any function (convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (PHP, Java, C#, Python, Javascript, Matlab, etc.) no data, script or API access will be for free, same for CMYK Channels download for offline use on PC, tablet, iPhone or Android !

Need Help ?

Please, check our community Discord for help requests!

Questions / Comments

Thanks to your feedback and relevant comments, dCode has developped the best CMYK Channels tool, so feel free to write! Thank you !


Source : https://www.dcode.fr/cmyk-channels
© 2020 dCode — The ultimate 'toolkit' to solve every games / riddles / geocaching / CTF.
Feedback