
Thread
2022.12.10 02:16 "Re: [Tiff] How to write multi-file TIFFs", by L. E. Segovia
Yes, I did this, but not even GIMP recognises such multi-page files.
On a related matter, judging from https://linux.die.net/man/3/tiffsetdirectory, there should be a way to not need to tamper with TIFFTAG_SUBIFD, i.e. using TIFFReadDirectory sequentially. In fact, it was the approach we were using up to now.
That brings me a few questions to mind:
- Does anyone know if that's the intended use of TIFFReadDirectory? If so, wasn't the function intended to seek into the next directory on its own?
- Alternatively, are we supposed to use TIFFSetSubdirectory before each TIFFReadDirectory? (getting the offsets with TIFFGetField)
Best,
amyspark
amyspark 🌸 https://www.amyspark.me