2018.06.06 06:43 "[Tiff] Adding bunch of numerical data to tiff image", by Bhaskar Reddy

2018.06.06 06:43 "[Tiff] Adding bunch of numerical data to tiff image", by Bhaskar Reddy

Hi everyone,

I am trying to add data [200,8,205,10,300,6,250,5, ........................300,6,350,4] but not able to.

Is there any way to add a bunch of integers to Tiff image as Tiff tag?

*Example:*

value= [200,8,205,10,300,6,250,5, ........................300,6,350,4] TIFFSetField(tif,TIFFTAG_T02, value)

static const TIFFFieldInfo textfields[]={
{ TIFFTAG_T02, 1, 1, TIFF_LONG, FIELD_CUSTOM, 0, 0, "text02"},
};

Thank you,
Bhaskar.