2005.06.14 03:57 "[Tiff] Clippath Data", by Fiqri Ismail

2005.06.14 04:48 "Re: [Tiff] Clippath Data", by Andrey Kiselev

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 V. Kiselev
Home phone: +7 812 5970603 ICQ# 26871517