X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [Tiff] CMYK Tiff
Date: Fri, 7 Jul 2006 11:20:58 +0200
Message-ID: <FC840EC0BF7BFA45A0F94548AF36920DABF303@zynlms01.ZyLAB.WAN>
In-Reply-To: <88bbb9aa0607070006j35b93707k66ec077821497ac1@mail.gmail.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] CMYK Tiff
Thread-Index: Acahk2/BCv0v6y1rSpiL0JI9InOkcwADxp8w
From: "Gerben Vos" <Gerben@ZyLAB.COM>
To: "Ivan Kopcanski" <ivan.kopcanski@gmail.com>

> Thank you, Gerben. You were very helpfull. However, i need to save =
image as CMYK tif
> and GDI+ allows bitmap to be saved as tiff, but when you do it, you =
get RGB tiff and that
> is not what I need. I need CMYK tif.

Of course, you would still have to retrieve the bitmap data from GDI+
and save it ***using libtiff***, just as I described in my first reply.
It means working with byte buffers, but it's not hard. If you don't
understand my first reply, please ask *on the mailing list*.

I do hope you know how to link to libtiff and how to use its interface
from C#. I haven't tried that yet.

> I wont to do this and than change image flags.

OK, you could write a C program to open the TIFF, convert it and write
it back. This may be easier, yes. Use the flags I mentioned at the
bottom of my first reply.

By the way, I think it would be helpful if you kept the rest of the
discussion on the mailing list. Others may be interested, or be able to
help, too.

					Gerben.

