2021.08.26 17:40 "[Tiff] Setting/Getting Custom Metadata", by Reynaldo FariasZorrilla
- 2021.08.26 17:59 "Re: [Tiff] Setting/Getting Custom Metadata", by Even Rouault
2021.08.27 06:11 "Re: [Tiff] Setting/Getting Custom Metadata", by Roger Leigh
Hi Reynaldo,
You need to get the read count for the field with TIFFFFieldReadCount(), create a buffer of that length, then pass a pointer to that buffer. You’re just passing a null pointer, so it has nowhere to store the contents of the string.
Kind regards,
Roger