OK, the layered.tif is definitely not a multi-subimage file. It seems that it's
just one subimage (maybe the merged layers?) but there is a special data block
in the header containing encoded PhotoShop information, which presumably
contains whatever PS needs to represent the layer information. But
unfortunately, it's a proprietary tag that is not documented. I'm not sure how
we could reliably write TIFF files and embed that data.
-- lg
> On Aug 12, 2020, at 11:18 PM, Johannes Hezer <[email protected]>
> wrote:
>
> Hey Larry,
>
> attached is an archive with 5 files, one layered.tif from PS, then all three
> seperate and one created with oiio --siappendall, called multipage_tif...
> Thanks, for looking into this.
>
> All the best
> Johannes
>
> Am 12.08.20 um 17:16 pm schrieb Larry Gritz:
>> I'm not quite sure what a "multi layered tiff" is, from PS's perspective. Do
>> you have an example of a TIFF file (doesn't have to have been written by
>> OIIO) that does correctly behave in the way you want when opened by PS? Send
>> it to me and maybe I can see how exactly it's laid out and figure out what
>> is the missing ingredient.
>>
>> -- lg
>>
>>
>>> On Aug 12, 2020, at 6:09 AM, Johannes Hezer <[email protected]
>>> <mailto:[email protected]>> wrote:
>>>
>>> Hey,
>>>
>>> I was wondering if anybody has achieved writing a tiff that works in PS as
>>> a multi layered tiff.
>>>
>>> oiiotool a.tif b.tif c.tif --siappendall -o out.tif creates a multipage
>>> tif, which apparently opens fine in almost any tif enabled program on the
>>> planet, but ps only reads in the first page...
>>>
>>> Any ideas?
>>>
>>> All the best
>>>
>>> Johannes
>>
>> --
>> Larry Gritz
>> [email protected] <mailto:[email protected]>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>> <http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org>
>
> <tif_test.zip>_______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
--
Larry Gritz
[email protected]
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org