Advertisement

Help me understand CYMK

Started by December 18, 2015 06:21 AM
5 comments, last by Kryzon 9 years ago

I have reasearched some of the whole RGB to CYMK conversion. From what I get, basically my colors look different after converting because the printer cannot make all the colors the screen does. Is that correct?

So I have this question:

understanding%252520cymk.png

Image (1) is my original RGB image (ignore bad shrinking), and in a perfect world that is what I want on paper.

I used http://www.rgb2cmyk.org/ to convert (1) and of course I got something very different in the result. So I started manually tweaking (1) and got (2). If I feed (2) to the website, it shows me (3) as preview, which is an acceptable result.

Now, my problem is: when I click the link, and download the .jpg (tried .tiff too, same result), and open in on my desktop (ms paint, gimp, windows viewer) all of them show me (4). Something much more pale that what the web preview showed me as my result....

So my question is: Why? Why is the downloaded file so different from the web preview?

My theory is that it is because the web preview is aplying one of those "profiles" I keep hearing about, so it is showing me how my image "should" look printed... but when I download and open it plain, there is no transformation and that is why that image is so flat and boring. Is that it?

If I just send my download (4) to the printer shop, and they apply their profile, is the image going to come to life in the printed version?

More info: the print shop says they use profile "fogra39" but i dowloaded something and coudln't made it work on that website.

Edit: Solved. Chrome & Firefox modify CMYK images to display them closer to their RGB counterparts. (4) is the actual image. (3) is just chrome's version of it.

my colors look different after converting [RGB to CMYK] because the printer cannot make all the colors the screen does. Is that correct?


RGB is for mixing colored light. It's "additive." It's a color scheme computer monitors use.
CMYK is for mixing colored ink. It's "subtractive" because mixing inks produces darker colors, which subtract light wavelengths that bounce off the printed image.

Open an image file in Photoshop, and look at the color picker. You'll see RGB values AND CMYK values, and also some other color models. There's no need to convert - the computer should handle it automatically.

As for this color difference you're seeing, maybe someone else can offer an explanation - I've never heard of such a thing.

-- Tom Sloper -- sloperama.com

Advertisement

More data.

If I open the downloaded file with chrome or firefox, (3) is shown.

If I use the other applications, I see (4).

Edit: Yeah, those two browsers actually modify the image to what they think it should look like. (4) is the correct cmyk.

In addition to CMYK being somewhat obscure and in addition to possibly applying "some" color profile, the web preview might also be different because of scaling. Scaling is not necessarily gamma-correct.

CMYK by itself is a bit of a weird, somewhat unscientific beast, too. Actually, it's CMY, not CMYK (adding up absorption instead of adding up light -- subtractive color system). However, although full-intensity on all three components in CMY should give black, this is rather expensive (uses a lot of ink) and due to technical limitations in practice it doesn't look quite right. Meaning that it's kind of black, but not really black, and you don't get 100% sharp black contours due to imperfect overlap.

Hence, what you do is you throw in a fourth channel (key plate, hence "K") which is just pure black, and reduce cyan, magenta, and yellow colors by some amont (found via trial and error) so overall brightness seems about the same, and it "looks alright". No surprise that somehow it just fails to 100% reproduce something from a different, more physically oriented model.

More data.

If I open the downloaded file with chrome or firefox, (3) is shown.

If I use the other applications, I see (4).

Edit: Yeah, those two browsers actually modify the image to what they think it should look like. (4) is the correct cmyk.

To further complicate things, monitors are calibrated differently. What you see and what we see is different. What I see on one monitor/computer and what I see on a different monitor/computer can be dramatically different.

When I make a piece of artwork, if I print it, even if the printer perfectly reproduced the computer's colors, it still might look wrong, because my monitor may not have perfectly reproduced the computer's colors, so I likely even created the digital art using the wrong colors, because I was basically painting through the wrongly-calibrated monitor.

Even worse if I draw a piece of art in real life, scan it (changing colors), view it on my monitor (viewed wrongly), print it (changing colors). It can be darker, lighter, greyer, more colorful, more contrasting, less contrasting, less blue, more green, red can look pink, and yellow can look white, etc...

Digital stuff is fantastic. Ones and zeros are ones and zeroes. But when digital interacts with the real world, the conversions are very approximate unless you get expensive hardware and properly calibrate them. One place where "digital" meets "real world" is when digital values are converted to light for the monitor to display. This doesn't even yet involve RGB -> CYMK conversions, and already things vary wildly.

When making games for consumers, you have to remember that the billions of consumers in the world have tens of thousands of different screens, manufactured by dozens of different companies, set to millions of different settings... And then the ambient lighting of their living-room/whatever affects things, and even if everything was perfectly the same, different peoples' eyes perceive colors differently anyway.

I don't know the solution to this. It seems there are things you can do to help, but I can't conceive of a perfect solution.

The profile is not all that's needed. You generally specify how the conversion should be made: perceptual, absolute colourimetric, relative colourimetric etc.
That website does not allow you to set this, and it can have a negative impact on the image.

If you or someone else is still looking for a way to convert your sRGB image to a CYMK profile and you don't have Photoshop ($$$) or Krita (free, but needs a powerful system), you can use ImageMagick:

Download either of the portable versions (the last two at the end of the list):
http://www.imagemagick.org/script/binary-releases.php#windows

Then download the ICC profile pack from Adobe:
https://www.adobe.com/support/downloads/detail.jsp?ftpID=3680

Then unpack ImageMagick to some folder, open the command prompt and navigate to that folder. Then use this command line:
convert rgb_image.jpg -intent relative -black-point-compensation \
-profile "CoatedFOGRA39.icc" cmyk_image.jpg


With "CoatedFOGRA39.icc" being a file from that profile pack from Adobe that you copied to the same folder as ImageMagick's "convert.exe".
More information here:
http://www.imagemagick.org/Usage/formats/#profiles

EDIT: The choice of a rendering intent (perceptual, relative colourimetric etc.) depends on what you want from the resulting image. From what I understand of it, for colours outside of the CMYK profile gamut, the perceptual mode preserves value nuances but may shift hues, and the relative colourimetric mode preserves hues but may lose value nuances.
- http://www.color-management-guide.com/conversion-mode-perceptual-relative-colorimetric-rendering-intent.html
- http://www.steves-digicams.com/knowledge-center/understanding-rendering-intents.html
Advertisement

I've noticed the same image difference when previewing web vs. saved vs. photoshop. It kind makes it hard when Im preparing marketing materials by taking screenshots of my game - stuff in photoshop always appear darker so I end up brightening it, but when I upload it to the website it then shows up too bright.

But I also never know if its just ME or others see it that way. What if different people's setups are different?

so much headache ><

Comrade, Listen! The Glorious Commonwealth's first Airship has been compromised! Who is the saboteur? Who can be saved? Uncover what the passengers are hiding and write the grisly conclusion of its final hours in an open-ended, player-driven adventure. Dziekujemy! -- Karaski: What Goes Up...
PNG (and probably other modern formats) sometimes include a "Gamma" setting in the image that can mess with brightness. The pixel data remains the same, it's just that Gamma setting that causes it to be displayed differently in web browsers.

This is why I always remove the "GAMMA" chunk from my PNG images, I use TweakPNG for that.
http://entropymine.com/jason/tweakpng/

This topic is closed to new replies.

Advertisement