Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx2.pub.mailpod2-cph3.one.com ([10.27.25.12])
	by mailstorage18.cst.mailpod2-cph3.one.com with LMTP id IOoCJYKQF1ttAgEAQS8vrQ
	for <filtered@awaresystems.be>; Wed, 06 Jun 2018 07:42:58 +0000
X-HalOne-ID: 3ab60a86-695d-11e8-b781-ec0d9a6ed9fe
Received: from mail-oi0-f42.google.com (unknown [209.85.218.42])
	by mx2.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 3ab60a86-695d-11e8-b781-ec0d9a6ed9fe;
	Wed, 06 Jun 2018 07:42:58 +0000 (UTC)
Received: by mail-oi0-f42.google.com with SMTP id t22-v6so4555422oih.6
        for <filtered@awaresystems.be>; Wed, 06 Jun 2018 00:42:58 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :mime-version:references:in-reply-to:from:date:message-id:to:cc
         :subject:precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:mime-version:sender:errors-to;
        bh=qYbQgj+INBt2qmPAd2XpYNJT2OQslO6u/nj2x9zcaLA=;
        b=LgjmEbj5OwsUSMRdG+Yd29ZFepUeTsd5SHX6e+ptQ8p7dbS/YnJv+YOgj4xEPCq58Q
         k6TdIOmaYgo1r1SBe5unBNtpYxFRxjvRK2pCd/yYzBjgrYaFDllv77CywL8Iwenkbj0z
         D7xy2IuDF1VpjC8z3I2CwTgQZD75wDnaocQj9R768Da9dzjhePTXs85TLZiwGJKf3mNR
         d5AqEZRaKO4IzTgCCa0OwjuR1CeIeWtmVq3HIuxGuDvA5C9VEhrpCdBqxyH9u0/bvrW0
         mjN0og5sbWpyaaceyqa3ILSas6r5nb1anRo/BeVSrjvm6vBhMhdGTEVBFDT4P73a127n
         gCqw==
X-Original-Authentication-Results: mx.google.com;       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;       dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
X-Gm-Message-State: APt69E2olB78jlQFwJ0Cj0twSTlbihJ4jFIZeLPRPCJRkRuiLa4JKyLL
	5SLDTa3QGofykJ0i2TJC8Btzkoi1uVyzc9MKFD7oihYyiESHmHE=
X-Received: by 2002:aca:bfd6:: with SMTP id p205-v6mr1159156oif.46.1528270976886;
        Wed, 06 Jun 2018 00:42:56 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 2002:a4a:b781:0:0:0:0:0 with SMTP id a1-v6csp520378oop;
        Wed, 6 Jun 2018 00:42:55 -0700 (PDT)
X-Google-Smtp-Source: ADUXVKIhSJgnObFo2z7HXHVWm6qF4Gy+JUKNnOWVZTuDmolC8eHDHFTt4Mze9yHvgzFCJhZcfxKc
X-Received: by 2002:a1c:f407:: with SMTP id z7-v6mr884644wma.143.1528270975461;
        Wed, 06 Jun 2018 00:42:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1528270975; cv=none;
        d=google.com; s=arc-20160816;
        b=JcNxhDS2knFhQ7MY0K9RMm3n4Ca/mCjnO9Ysl0dZEduOgV6es7yIXwGbdA/FGkSt3o
         utY0UdFB9BY/Ea5WGIeGnKuz2Ne27bpEmMGJDUsk0eRswSX3ySx2R55RFQii63qDLqwi
         1YWe8drAP6yf9IspjyEhbsJa14hNfbtxmLQcEwjXU4Yxhk8uOPIo89SXYRDkDgnQfaZj
         B2TqDcvpMZZHHj7XlHecXtZoGnWnLcXngPWstZ3RUq1c01WW8j0b9L+WrvDNHPhuQEdt
         gfKv3kxoVxS7aOU6x3aeU9sS36t3zFFwIXfF5PXQHx99n+X/G85dtMGqlH34V9zTeER/
         sAWQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=errors-to:sender:mime-version:list-subscribe:list-help:list-post
         :list-archive:list-unsubscribe:list-id:precedence:subject:cc:to
         :message-id:date:from:in-reply-to:references:mime-version
         :arc-authentication-results;
        bh=qYbQgj+INBt2qmPAd2XpYNJT2OQslO6u/nj2x9zcaLA=;
        b=U4+tkknl27/dhsIXuP8naUYdJQZil55kGcpOY+bqmsQqk9tbbSDbRSis6Gr1i1nBBb
         BrY3XMjxtz4O94Reh0THwsb8/6SbLHACVg3IQIkvJkD1WoIvk42GyFkYaPrzwK2NlVeq
         TtMUlw1VFcKNRMmDr+SD2kBBf8cFeRUnoFrJw1o6g+vPyuyZZT4UPllcOi6FNC4j5s6m
         rvIgY1jkVdROadKM/a0TP3hmhBs0eSjxmpqM2X1WzpkQd6G7KyMqq1MBpFmP4nlEtJES
         V+2EDzlzOwkHJPK+LEJV2E5vsney6fMxClt4X1qQCEsX4iUvfMSA/L11D+qtW969/Ufi
         tOeg==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;
       dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Return-Path: <tiff-bounces@lists.maptools.org>
Received: from lists.maptools.org (ks365428.kimsufi.com. [94.23.4.142])
        by mx.google.com with ESMTP id c29-v6si2671636wmi.129.2018.06.06.00.42.54;
        Wed, 06 Jun 2018 00:42:55 -0700 (PDT)
Received-SPF: neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) client-ip=94.23.4.142;
Authentication-Results: mx.google.com;
       spf=neutral (google.com: 94.23.4.142 is neither permitted nor denied by best guess record for domain of tiff-bounces@lists.maptools.org) smtp.mailfrom=tiff-bounces@lists.maptools.org;
       dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 153F835C1A9;
	Wed,  6 Jun 2018 02:42:05 -0500 (EST)
Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com
	[209.85.160.65])
	by lists.maptools.org (Postfix) with ESMTPS id D01BE35C1A4
	for <tiff@lists.maptools.org>; Wed,  6 Jun 2018 02:41:57 -0500 (EST)
Received: by mail-pl0-f65.google.com with SMTP id i5-v6so3267338plt.2
	for <tiff@lists.maptools.org>; Wed, 06 Jun 2018 00:41:57 -0700 (PDT)
X-Received: by 2002:a17:902:bc4a:: with SMTP id
	t10-v6mr2126471plz.133.1528270916396; 
	Wed, 06 Jun 2018 00:41:56 -0700 (PDT)
MIME-Version: 1.0
References: <CAB82cH5Hg2m6WMduuroRhQypyfNf3Tf6xMKrc9cvvMH_mAWekg@mail.gmail.com>
In-Reply-To: <CAB82cH5Hg2m6WMduuroRhQypyfNf3Tf6xMKrc9cvvMH_mAWekg@mail.gmail.com>
From: Rob Tillaart <rob.tillaart@gmail.com>
Date: Wed, 6 Jun 2018 09:41:42 +0200
Message-ID: <CANoujwE3JzXxW5Bm7Z-bxs6ZmakRvDS6w5fiDwW74ozO+A1ftg@mail.gmail.com>
To: reddy.baskar0605@gmail.com
Cc: TIFF mailing list <tiff@lists.maptools.org>, tiff@remotesensing.org
Subject: Re: [Tiff] Adding bunch of numerical data to tiff image
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1236949367=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============1236949367==
Content-Type: multipart/alternative; boundary="00000000000017ac95056df44d2b"

--00000000000017ac95056df44d2b
Content-Type: text/plain; charset="UTF-8"

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:

> 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.
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/

--00000000000017ac95056df44d2b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">just wondering,<div>Is every value related to a pixel (til=
e row column) in the image?</div><div>if so you could always create a 16 bi=
t grayscale image to hold the array.</div><div><br></div><div>Rob</div></di=
v><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed, Jun 6, 2018 at 8:=
51 AM Bhaskar Reddy &lt;<a href=3D"mailto:reddy.baskar0605@gmail.com">reddy=
.baskar0605@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex=
"><div dir=3D"ltr">Hi everyone,<div><br></div><div>I am trying to add data=
=C2=A0<span style=3D"font-size:small;background-color:rgb(255,255,255);text=
-decoration-style:initial;text-decoration-color:initial;float:none;display:=
inline">[200,8,205,10,300,6,250,5, ........................300,6,</span><sp=
an style=3D"font-size:small;background-color:rgb(255,255,255);text-decorati=
on-style:initial;text-decoration-color:initial;float:none;display:inline">3=
50,4]</span>

</div><div>but not able to.</div><div><br></div><div>Is there any way=C2=A0=
to add a bunch of integers to Tiff image as Tiff tag?</div><div><br></div><=
div><b>Example:</b></div><div><span style=3D"font-size:small;background-col=
or:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:ini=
tial;float:none;display:inline">value=3D [200,8,205,10,300,6,250,5, .......=
.................300,6,</span><span style=3D"font-size:small;background-col=
or:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:ini=
tial;float:none;display:inline">350,4]</span>

</div><div>

<span style=3D"font-size:small;background-color:rgb(255,255,255);text-decor=
ation-style:initial;text-decoration-color:initial;float:none;display:inline=
">TIFFSetField(tif,TIFFTAG_T02, value)</span><br></div><div><br></div><div>=
static const TIFFFieldInfo textfields[]=3D{</div><div><span style=3D"backgr=
ound-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-c=
olor:initial;float:none;display:inline">{ TIFFTAG_T02, 1, 1, TIFF_LONG, FIE=
LD_CUSTOM, 0, 0, &quot;text02&quot;},</span></div><div><span style=3D"backg=
round-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-=
color:initial;float:none;display:inline">};<br></span></div><div><br></div>=
<div><div class=3D"m_-9147988597855272930gmail-m_-270589426810364172gmail_s=
ignature"><div dir=3D"ltr"><div><div dir=3D"ltr">Thank you,</div><div dir=
=3D"ltr">Bhaskar.</div></div></div></div>
</div></div>
_______________________________________________<br>
Tiff mailing list: <a href=3D"mailto:Tiff@lists.maptools.org" target=3D"_bl=
ank">Tiff@lists.maptools.org</a><br>
<a href=3D"http://lists.maptools.org/mailman/listinfo/tiff" rel=3D"noreferr=
er" target=3D"_blank">http://lists.maptools.org/mailman/listinfo/tiff</a><b=
r>
<a href=3D"http://www.remotesensing.org/libtiff/" rel=3D"noreferrer" target=
=3D"_blank">http://www.remotesensing.org/libtiff/</a></blockquote></div>

--00000000000017ac95056df44d2b--

--===============1236949367==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
--===============1236949367==--
