
Thread
2018.06.06 07:41 "Re: [Tiff] Adding bunch of numerical data to tiff image", by Rob Tillaart
just wondering,
Is every value related to a pixel (tile row column) in the image? if so you could always create a 16 bit grayscale image to hold the array.
Rob
On Wed, Jun 6, 2018 at 8:51 AM Bhaskar Reddy <reddy.baskar0605@gmail.com> wrote:
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"},
};