CMYK weirdness
October 30th, 2006 . by polyGeekI had some images given to me that were going to be loaded at run-time in Flash. No problem. I’ve done that hundreds of times. But this time I got some weirdness that took a while to figure out.
Here’s the image in standard RGB:

Nothing wrong there.
Now here’s the same image using CMYK.

One thing you might notice is that it’s much darker than the RGB, unless your browser corrects for it. It’s also WAY bigger in file size. The top image is only 13k. The same in CMYK is 587. I’ve never worked in CMYK so this is all new to me.
Now here’s the really strange part.

This is a screen capture of the image after it was imported in Flash.
WTF? So this is what I saw when I loaded the images. I went to the artist who saved these images out and noticed the CMYK on the titlebar in Photoshop.
So, if you ever get something like this you know what caused it.












Flash might be looking at the CMYK file as an RGBA (or ARGB) image. That would explain the vast change in colors and alpha. I could be wrong, but it seems plausable.
@mX, You know, that makes sinse. If you are creating a color transformation in Actionscript you are manipulating a matrix that describes a RGBA color space.
Leave a Reply