First, make sure you have imagemagick compiled with LCMS (on mac brew install imagemagick --with-little-cms ). You probably need to reinstall the rmagick stone after reinstalling imagemagick.
Next, get the Adobe ICC color profiles (again, this is for the Mac, but I'm sure itβs not hard for you to find versions for other platforms).
Then run your editor and do something in that direction.
image = Image.read("my_image.jpg")[0] image.colorspace = Magick::CMYKColorspace image.add_profile("path_to/adobe_icc_profiles/CMYK/USWebCoatedSWOP.icc") image.write("my_image_cmyk.jpg")
source share