2022.12.10 12:16 "Re: [Tiff] How to write multi-file TIFFs", by L. E. Segovia
Um, this is the gist of my initial post. Using TIFFWriteDirectory sequentially just does not work, so I'm left with no way to create multipage TIFFs:
> 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.
I'm not sure if the documentation is mistaken or I'm doing something wrong, as most examples out there use SubIFD (and even those are few and far between).
amyspark 🌸 https://www.amyspark.me