Take the 2-minute tour ×  Following up my previous question: if
and how would it be possible to take RGB based TIFF files and
convert them over to CMYK with standard .NET (3.5)
functionality?  Is that possible at all?  share|improve this
question  2 Answers 2  up vote 7 down vote accepted  Actually
there is a way using the System.Windows.Media.Imaging namespace
which only seems to work properly with TIFFs at the moment
(which is fine for me):      Stream imageStream = new
FileStream(@"C:\temp\mike4.jpg", FileMode.Open, FileAccess.Read,
FileShare.Read);     BitmapSource myBitmapSource =
BitmapFrame.Create(imageStream);     FormatConvertedBitmap
newFormatedBitmapSource = new FormatConvertedBitmap();
newFormatedBitmapSource.Source = myBitmapSource;
newFormatedBitmapSource.DestinationFormat = PixelFormats.Cmyk32;
BitmapEncoder encoder = new TiffBitmapEncoder();      Stream
cmykStream = new FileStream(@"C:\temp\mike4_CMYK.tif",
FileMode.Create, FileAccess.Write, FileShare.Write);  See "Co