AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2022.12.09 01:29 "[Tiff] How to write multi-file TIFFs", by L. E. Segovia
2022.12.09 12:18 "Re: [Tiff] How to write multi-file TIFFs", by Paavo
2022.12.09 13:52 "Re: [Tiff] How to write multi-file TIFFs", by John
2022.12.10 02:16 "Re: [Tiff] How to write multi-file TIFFs", by L. E. Segovia
2022.12.10 02:33 "Re: [Tiff] How to write multi-file TIFFs", by Kemp Watson
2022.12.10 09:35 "Re: [Tiff] How to write multi-file TIFFs", by Paavo
2022.12.10 11:29 "Re: [Tiff] How to write multi-file TIFFs", by John
2022.12.10 12:16 "Re: [Tiff] How to write multi-file TIFFs", by L. E. Segovia
2022.12.10 12:44 "Re: [Tiff] How to write multi-file TIFFs", by John
2022.12.10 20:12 "Re: [Tiff] How to write multi-file TIFFs", by L. E. Segovia
2022.12.10 20:44 "Re: [Tiff] How to write multi-file TIFFs", by L. E. Segovia

2022.12.09 01:29 "[Tiff] How to write multi-file TIFFs", by L. E. Segovia

Hi all,

I'm writing to ask about how to create a TIFF with multiple sub-images. Our writing code at Krita is unable to create this kind of files, creation fails with these lines logged:

> krita.file: "TIFFLinkDirectory: Error fetching directory count"
> krita.file: "TIFFRewriteDirectory: Error fetching directory count"

A breakpoint on the TIFF error writing routine shows that both are issued the moment I call TIFFWriteDirectory for the second and further layers. TIFFCreateDirectory, which I saw suggested in tif_overview.c, does not have an effect here.

Does anyone know the correct incantations to create this kind of files? I'm running LibTiff 4.4.0 at present.

Best,

amyspark

amyspark 🌸 https://www.amyspark.me