| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2005.12.06 08:04 "Re: how to split layers in tiff file", by Kai-uwe BehrmannAm 05.12.05, 15:07 -0800 schrieb John Engelke: > > There is information about a Photoshop-specific Image Source Data tag > in the March 22, 2002, posting of Adobe Photoshop TIFF Technical > Notes. ( http://partners.adobe.com/public/developer/en/tiff/TIFFphotoshop.pdf > ) It states that the tag "37724" contains "the layer and mask > information found in a typical layered Photoshop file". So that is > where the information on photoshop layers, not channels, is contained. > > Does anyone know of a TIFF processing library, command-line tool, API Try tiffsplit. It comes with libtiff and lays in the tool directory. > or anything else that can deal with this Adobe tag. I know that > Photoshop and GIMP deal with it, and I am just hoping for something Grepping in the Gimp plug-in sources shows no support for this tag. The layer support is done without this infos provided by this specialised tag. > server side, libtiff or otherwise. I am sorry I would develop this > myself but there is just no time, that is why I am seeking a mature > library that can handle these things. Please help ... Did you search the libtiff email archive? I think this toppic was several times explained. Look for something like: directory The following code snippet should count the layers (IFDs) in a tiff file: while (TIFFReadDirectory (tif)) { count++; } > P.S. The handling of Photoshop layers would be a great addition to > libtiff ... (that is if I'm not mistaken by now that it can't handle > this ...) I did not see photoshop originated tiffs yet. Curious for an example. Can you provide one? regards Kai-Uwe Behrmann + development for color management + imaging / panoramas + email: ku.b@gmx.de + http://www.behrmann.name |
|||||||