Hi Jacob, the first input to the 'applycform' function needs to be a matrix of the image data, rather than the path to the file itself. You are passing in a character vector for that argument, so the function assumes that you are using a named color profile, and errors out accordingly since the encoding 'C' from 'makecform' does not match.
Since 'imread' does not support CMYK JPG files in the first place, this puts us in a tricky situation. What you really need to do, is perform the conversion before being able to work with it at all in MATLAB. There are third-party tools that would allow you to do this conversion.
Best Answer