Return-Path: <tiff-bounces@lists.maptools.org>
Received: from infbas003.isp.belgacom.be (localhost [127.0.0.1])
        by inav020.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k9V1nCqn016656
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Oct 2006 02:49:16 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inas026.isp.belgacom.be (inas026.isp.belgacom.be [195.238.4.250])
        by infbas003.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k9V1lbm3022612
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Oct 2006 02:47:37 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.5.146])
        by inas026.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k9V1lUsw001492
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Oct 2006 02:47:32 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx009.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k9V1lRXE007830
        for <joris.at.lebbeke@skynet.be>; Tue, 31 Oct 2006 02:47:28 +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 k9V1bXnv018323;
	Mon, 30 Oct 2006 20:38:45 -0500
Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k9V1YXiL018268
	for <tiff@lists.maptools.org>; Mon, 30 Oct 2006 20:34:33 -0500
Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172])
	by fmmailgate03.web.de (Postfix) with ESMTP id C3210307F03E
	for <tiff@lists.maptools.org>; Tue, 31 Oct 2006 02:34:31 +0100 (CET)
Received: from [194.66.66.35] (helo=[10.1.16.114])
	by smtp06.web.de with asmtp (TLSv1:AES256-SHA:256)
	(WEB.DE 4.107 #114) id 1GeiWN-0008N2-00
	for tiff@lists.maptools.org; Tue, 31 Oct 2006 02:34:31 +0100
Message-ID: <4546A826.6020800@web.de>
Date: Tue, 31 Oct 2006 01:34:30 +0000
From: Olumide <50295@web.de>
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
MIME-Version: 1.0
To: tiff@lists.maptools.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Sender: 50295@web.de
Subject: [Tiff] Reading Photoshop Proprietary  Tag 37724
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.00001ce4
X-MSP-STORE: Tue, 31 Oct 2006 02:49:25 +0100
Status:   

Hello -

New LibTIFF programmer here, I'm trying to read the Photoshop Tag 37724 
in order to get at Image Layer data. Here's my snip of my attempt:

	uint16 data = 0;
	void*  count;
	TIFF* tiff = TIFFOpen("psdTIFF_File.tif", "r");

	TIFFGetField(tiff, 37724, &data, &count);
	printf("%d\n", data);

	TIFFClose(tiff);

The result: 27080 . The question now is, I'm not quite sure how to 
proceed from here. Hints please anyone?

Thanks

- Olumide


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