2010.05.26 18:39 "[Tiff] BigTIFF issue: missing fields", by alex dragulescu

2010.05.26 18:39 "[Tiff] BigTIFF issue: missing fields", by alex dragulescu

Hi all,

I am running into a strange problem with the latest libtiff 4.0.0beta5. I'm using Aqsis (an open source Renderman-compliant renderer) to generate shadowmaps larger than 4Gb. I'm adding option "8" to the creation mode and the image are fine but two important tags are missing: TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN, TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.

This is how the fields should appear (generated with stock Ubuntu libtiff 3.9.2-2) http://aqsis.pastebin.com/cnvaYxGu

The fields are missing with libtiff 4.0.0beta5: http://aqsis.pastebin.com/wZ8jvqpS

It seems that they are using the api and not any header voodoo that might get the fields overwritten. This is the Aqsis code that generates the TIFF and sets the fields:

http://aqsis.pastebin.com/cYiQFM0X
(lines of interest: 189, 203, 204)

Any ideas why this might happen? Any tips on debugging this?

Many thanks,

Alex