Make sure that the images aren't CMYK. [Fixes #3104]