AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
December 2005

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2005.12.04 23:29 "how to split layers in tiff file", by Brad Brock
2005.12.04 23:47 "Re: how to split layers in tiff file", by Joris Van Damme
2005.12.05 21:00 "Re: how to split layers in tiff file", by John Engelke
2005.12.05 21:28 "Re: how to split layers in tiff file", by Bob Friesenhahn
2005.12.05 22:30 "Re: how to split layers in tiff file", by Brad Brock
2005.12.05 23:07 "Re: how to split layers in tiff file", by John Engelke
2005.12.06 08:04 "Re: how to split layers in tiff file", by Kai-uwe Behrmann

2005.12.06 08:04 "Re: how to split layers in tiff file", by Kai-uwe Behrmann

Am 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