Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas015.isp.belgacom.be (localhost [127.0.0.1])
        by inav027.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k04IkY5u013788
        for <joris.at.lebbeke@skynet.be>; Wed, 4 Jan 2006 19:46:34 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx020.isp.belgacom.be (inmx020.isp.belgacom.be [195.238.5.139])
        by inas015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k04IkRw8029287
        for <joris.at.lebbeke@skynet.be>; Wed, 4 Jan 2006 19:46:29 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx020.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k04IkJlo028521
        for <joris.at.lebbeke@skynet.be>; Wed, 4 Jan 2006 19:46:19 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k04Ifpdk011765;
	Wed, 4 Jan 2006 13:41:56 -0500
Received: from mail.gmx.net (mail.gmx.net [213.165.64.21])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id k04IfUv7011751
	for <tiff@lists.maptools.org>; Wed, 4 Jan 2006 13:41:32 -0500
Received: (qmail invoked by alias); 04 Jan 2006 18:41:29 -0000
Received: from dialin110221.justdsl.de (EHLO sirius.rasena) [85.25.110.221]
	by mail.gmx.net (mp032) with SMTP; 04 Jan 2006 19:41:29 +0100
X-Authenticated: #2969065
Received: by sirius.rasena (Postfix, from userid 500)
	id 3DA18128A7F; Wed,  4 Jan 2006 19:51:19 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by sirius.rasena (Postfix) with ESMTP id 31608128A7D;
	Wed,  4 Jan 2006 19:51:19 +0100 (CET)
Date: Wed, 4 Jan 2006 19:51:19 +0100 (CET)
From: Kai-Uwe Behrmann <ku.b@gmx.de>
X-X-Sender: kuwe@sirius.rasena
To: a.malka@comptel.pl
Subject: Re: [Tiff] Reading TIFF(CMYK) 
In-Reply-To: <1151.83.31.214.77.1136398503.squirrel@poczta.ibc3.pl>
Message-ID: <Pine.LNX.4.61.0601041947280.9195@sirius.rasena>
References: <1151.83.31.214.77.1136398503.squirrel@poczta.ibc3.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Y-GMX-Trusted: 0
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.000010d1
X-MSP-STORE: Wed, 04 Jan 2006 19:46:42 +0100
Status:   

Am 04.01.06, 19:15 +0100 schrieb a.malka@comptel.pl:

> Hi,
> 
> it's possible to read only one color chanel from tiff(CMYK) let say cyan
> and save it as greyscale?
> 
> Greetings
> Arkadiusz Malka
 
Yes of course. Read the image in one buffer and write each 4th sample to 
a second buffer, After saving the second buffer to whatever format (tiff?) 
you are done. 

If you ask for a ready made function in libtiff: there is none as far as I 
can tell. You must customise some code yourself. 


regards
Kai-Uwe Behrmann
                                + development for color management 
                                + imaging / panoramas
                                + email: ku.b@gmx.de
                                + http://www.behrmann.name

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
