I\'m about to converting RGB color to CMYK for printing purpose.
scale of this conversion is Adobe Photoshop ( Image -> Mode -> CMYK color )
I tried
May be this (untested) snippet helps a bit - it uses the the .NET api for ImageMagick.
MagickReadSettings settings = new MagickReadSettings();
settings.ColorSpace = ColorSpace.CMYK;
using (MagickImage image = new MagickImage())
{
image.AddProfile(ColorProfile.CMYK);
image.Read("image_rgb.tiff", settings);
image.Write("image_cmyk.tiff");
}
If you can use the commandline this will also do the job:
convert image_rgb.tiff -profile "RGB.icc" -profile "CMYK.icc" image_cmyk.tiff