
Thread
2023.04.10 16:15 "Re: [Tiff] CFAREPEATPATTERNDIM and CFAPATTERN", by David C. Partridge
Hmmm It seems that I got the *writing* about correct:
Photometric (1 Short): Unknown (32803)
::
::
33421 (2 Short): 2, 2
33422 (4 Byte): 1, 2, 0, 1
as shown by AsTiffTagViewer (is there a better tool for this?)
But the code for reading:
uint16_t cfarepeatpatterndim[2]{ 0, 0 };
if (TIFFGetField(m_tiff, TIFFTAG_CFAREPEATPATTERNDIM, cfarepeatpatterndim))
doesn't appear to be right as it gives me crazy results in the array cfarepeatpatterndim