2006.07.05 14:38 "[Tiff] CMYK Tiff", by Ivan Kopcanski

2006.07.06 11:56 "Re: [Tiff] CMYK Tiff", by Gerben Vos

I wrote:

However, what you could do for example, is construct the image using GDI+ (or something else), then retrieve the bitmap data (from the documentation it looks like you need to use Bitmap.LockBits for that), convert that from RGB to CMYK and then pass it on to libtiff.

Actually, you don't even have to convert. Just create a BGRA image (that's the actual byte order that Windows bitmaps use), and pretend that BGRA = CMYK. So, tell GDI+ to paint in blue when you actually want to paint in cyan, etcetera. (I may have got the order of the colours wrong, but you'll find it out easily enough).

Gerben Vos.