2021.08.27 00:09 "Re: [Tiff] Setting/Getting Custom Metadata", by Reynaldo FariasZorrilla
Unfortunately, now I get a seg fault when trying to read one of the ASCII tags. I read it as follows:
char* dataChar = nullptr;
TIFFGetField(this->tiffFile, tagID, &dataChar);
std::cout << "Char type: " << dataChar << std::endl; //seg fault here
I assume the dataChar pointer is still a nullpointer in the print, suggesting the get field just didnt do anything. Any ideas as to why that would be the case?