2023.04.10 15:23 "[Tiff] CFAREPEATPATTERNDIM and CFAPATTERN", by David C. Partridge

2023.04.10 17:27 "Re: [Tiff] CFAREPEATPATTERNDIM and CFAPATTERN", by Paavo

man TIFFGetField does not mention TIFFTAG_CFAREPEATPATTERNDIM, meaning this is a custom field and therefore should be read in the following way if I’m not mistaken:

                                                            uint32 value_count=0;

                                                            void* raw_data=NULL;

if(TIFFGetField(tif, tiffTag, &value_count, &raw_data)==1) {  
// …

HTH

Paavo