Hi, my bad for not being clear about that the structure itself seems to have sensible values, but the resulting size and ptr of the buffer is garbage. I know it is garbage, because FreeImage_CreateICCProfile crashes during the memcpy call. The contents of the structure can be seen in the attached picture.
Tiff TIFFVGetField loads garbage values