Page 1 of 1

tiff cmyk to jpg rgb conversion

Posted: 2008-11-18T08:28:38-07:00
by Snapko
I find this MagickNet.dll and add to my c# project.

I looked many posts but can't understand the how to do this tiff cmyk -- jpg rgb conversion.

First I try to change my tiff colorspace

MagickNet.Image myImage = new MagickNet.Image(@"C:\one.tif");
myImage.ColorSpace = ColorSpaceType.RGBColorspace;
System.Drawing.Size size = new Size(536, 400);
myImage.Resize(size);
myImage.Write(@"C:\two.tif");

But I get a very light blue and when I try to open it in photoshop I get a invalid ICC profile error.