Return-Path: <tiff-bounces@remotesensing.org>
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx016.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j5E5EJdI027791
        for <joris.at.lebbeke@skynet.be>; Tue, 14 Jun 2005 07:14:20 +0200
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id E2CEB2619C31; Tue, 14 Jun 2005 01:14:05 -0400 (EDT)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from cgp.pu.ru (cgp.pu.ru [195.70.196.209])
	by xserve.flids.com (Postfix) with ESMTP id D20382619C0B
	for <tiff@remotesensing.org>; Tue, 14 Jun 2005 01:14:02 -0400 (EDT)
Received: from wg.pu.ru ([193.124.85.219] verified)
	by cgp.pu.ru (CommuniGate Pro SMTP 4.2.8)
	with ESMTP id 69376492 for tiff@remotesensing.org;
	Tue, 14 Jun 2005 09:14:01 +0400
Received: (from uucp@localhost)
	by wg.pu.ru (8.9.1a/8.9.1) with UUCP id FAA20395
	for tiff@remotesensing.org; Tue, 14 Jun 2005 05:14:01 GMT
Received: from ak4719.spb.edu (localhost [127.0.0.1])
	by ak4719.spb.edu (8.13.3/8.13.3/Debian-6) with ESMTP id j5E4mSb7017832
	for <tiff@remotesensing.org>; Tue, 14 Jun 2005 08:48:28 +0400
Received: (from dron@localhost)
	by ak4719.spb.edu (8.13.3/8.13.3/Submit) id j5E4mSlO017828
	for tiff@remotesensing.org; Tue, 14 Jun 2005 08:48:28 +0400
From: Andrey Kiselev <dron@ak4719.spb.edu>
Date: Tue, 14 Jun 2005 08:48:28 +0400
To: tiff@remotesensing.org
Subject: Re: [Tiff] Clippath Data
Message-ID: <20050614044828.GA8706@ak4719.spb.edu>
Mail-Followup-To: tiff@remotesensing.org
References: <d5b7ce9b050613205754382a71@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <d5b7ce9b050613205754382a71@mail.gmail.com>
X-GnuPG-Key: http://www.srces.spb.org/dron/export.home.key
X-Face: "t+se9s~+y~[XUH]L|pmeO3Pt/Q@DNv**S, d@_1-C=}/,
	c%<3Qp]eu!ok<"2lYJm$!9qVcg F?7o*L; |$`6|Q|>Rt-cU%2_y@6tQ|`!Li}TsvZvEKx;
	>fuY=fc(=sX^`7Wmw8%SsR`AvM$a; 0U/eN\ P?B\FTyqD, 0np$U2!*'z_4D,
	VPlFf?bN0&zYf"zF0s!7Tl7?$we)xD0@lL>[h|8bhys0i.g|zLnu@C
	Ti@d]i=[!:j1CB\5/TF[m]`lfHfaqSN[0qn@T3zeosV/[LAss{@p_?],x*j8P_9t[}uHD^X-;
	j~\M! gyTly;fj`}&Y~i{<#bN.#QmkE}#T`dxP.I1\.)_MEN{@#W
User-Agent: Mutt/1.5.6+20040907i
X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on ak4719
X-Virus-Status: Clean
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 000000000023ceae.000003ac
X-MSP-STORE: Tue, 14 Jun 2005 07:14:30 +0200
Status:   

On Tue, Jun 14, 2005 at 09:57:05AM +0600, Fiqri Ismail wrote:
>  I am using Tiff lib for delphi. I have a tiff file with 3 layers and a path 
> layer (these layers were created inside Adobe Photoshop CS).
> I need to get this path info (ClipPath) and copy it to another tiff file. I 
> tried 
>  TIFFGetField(OpenTiff, TIFFTAG_CLIPPATH, @ClipParth); 
>  it seems to be returning zero . 

ClipPath tag was not supported in libtiff. I have added required records
in the FieldInfo array, so you can try the CVS version. Also ClipPath
array has an arbitrary size, so you should supply a variable along with
the array pointer to get the array size (sorry, I don't know the exact
Pascal syntax for that).

Andrey

-- 
Andrey V. Kiselev
Home phone:  +7 812 5970603  ICQ# 26871517
_______________________________________________
Tiff mailing list: Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
