Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas002.isp.belgacom.be (localhost [127.0.0.1])
        by inav011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k17DoXrD007634
        for <joris.at.lebbeke@skynet.be>; Tue, 7 Feb 2006 14:50:33 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx013.isp.belgacom.be (inmx013.isp.belgacom.be [195.238.4.216])
        by inas002.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k17DoQW9019830
        for <joris.at.lebbeke@skynet.be>; Tue, 7 Feb 2006 14:50: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 inmx013.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k17DoIUO000925
        for <joris.at.lebbeke@skynet.be>; Tue, 7 Feb 2006 14:50:18 +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 k17DcrEj032059;
	Tue, 7 Feb 2006 08:39:06 -0500
Received: from outmx025.isp.belgacom.be (outmx025.isp.belgacom.be
	[195.238.4.49])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k17DcmnT032055
	for <tiff@lists.maptools.org>; Tue, 7 Feb 2006 08:38:48 -0500
Received: from outmx025.isp.belgacom.be (localhost [127.0.0.1])
	by outmx025.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with
	ESMTP id k17DceSb020385
	for <tiff@lists.maptools.org>; Tue, 7 Feb 2006 14:38:40 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Received: from dfgrrxsknr4e (190-170.245.81.adsl.skynet.be [81.245.170.190])
	by outmx025.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with SMTP
	id k17DcVVu020255; Tue, 7 Feb 2006 14:38:31 +0100
	(envelope-from <joris.at.lebbeke@skynet.be>)
Message-ID: <003901c62beb$d20c2cc0$beaaf551@dfgrrxsknr4e>
From: "Joris" <joris.at.lebbeke@skynet.be>
To: <dermot@sciencephoto.com>
References: <43E89C94.6701.65FA566D@dermot.sciencephoto.co.uk>
Subject: Re: [Tiff] Re: Mega newbie question
Date: Tue, 7 Feb 2006 14:38:44 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1506
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506
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.0000126c
X-MSP-STORE: Tue, 07 Feb 2006 14:50:39 +0100
Status:   

Dermot,

> TIFFGetField(tif, TIFFTAG_PHOTOSHOP, &count, &data)
> printf("Size of PhotoShop Tag is %d bytes. Type is %d\n", count ,
data);
> Size of PhotoShop Tag is 6134 bytes. Type is 136490136

Of course, you probably realize, 136490136 is not the 'type', but the
address of the data as maintained in memory by LibTiff. So consult
*data, but don't free the memory or anything.


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html

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