Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx3.pub.mailpod2-cph3.one.com ([10.27.25.13])
	by mailstorage18.cst.mailpod2-cph3.one.com with LMTP id UKvqLZjpF1upOAEAQS8vrQ
	for <filtered@awaresystems.be>; Wed, 06 Jun 2018 14:03:04 +0000
X-HalOne-ID: 53f2c9c9-6992-11e8-8713-e0d84895d241
Received: from mail-oi0-f52.google.com (unknown [209.85.218.52])
	by mx3.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 53f2c9c9-6992-11e8-8713-e0d84895d241;
	Wed, 06 Jun 2018 14:03:04 +0000 (UTC)
Received: by mail-oi0-f52.google.com with SMTP id d5-v6so5329185oib.5
        for <filtered@awaresystems.be>; Wed, 06 Jun 2018 07:03:03 -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
         :user-agent:date:from:to:message-id:thread-topic:references
         :in-reply-to:mime-version:cc:subject:precedence:list-id
         :list-unsubscribe:list-archive:list-post:list-help:list-subscribe
         :mime-version:sender:errors-to;
        bh=wgxI8IsbXfcWU8w/Hp9Y6Oc0qs+j5LjyMVoEmrD/TgM=;
        b=aMplNP7ekRvr15sf/9uanqW5DAVwnRqZ5/Rkh5I/jP0TFPj0heckbuwtWAsXQzSMkc
         NIREMdrCTtqUC+RIfK04bj+5dzBOQbgA8Ar0QM04/dL7GqFJQXYQ4hFBUk1Uyj1Q+UmL
         5FcMd+C5+7opK9xVYZJGzTseIzw3R1Cb//fk62qnq06wllfIs7sh4Zd6JidzFxnqJdKS
         s/FGyTxXTfY54u8Z1VwtMXP5mhX4gUS3OjxvYJ0zLzdNSXLIanuA+wK2s8FCM/gvFVqh
         0TqeaWzOuObMmSgtnY1MAUFMKi/xqegG4T+Mx38nA73WSUh7yWeYmFINoOTg7MobgZo0
         TAAw==
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
X-Gm-Message-State: APt69E0ikTlt7SqVEHYGdJ6g6aNe8xaTGgFk3GpRuTUlyqaL+PBEOxUs
	g08rsZrj6jAftKmwTQLVdqliq8YWeB4Hfe9UryEnnKAx5/2btDs=
X-Received: by 2002:aca:dc08:: with SMTP id t8-v6mr1808209oig.159.1528293782496;
        Wed, 06 Jun 2018 07:03:02 -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-v6csp893094oop;
        Wed, 6 Jun 2018 07:03:01 -0700 (PDT)
X-Google-Smtp-Source: ADUXVKKSBRoHvUYceNwGf7tgkMzX9JPNLII3r4ib4lddW79Cw6z0M2k1fZNJu4Rvwf14jCxN2a23
X-Received: by 2002:a1c:3f56:: with SMTP id m83-v6mr2066747wma.88.1528293781304;
        Wed, 06 Jun 2018 07:03:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1528293781; cv=none;
        d=google.com; s=arc-20160816;
        b=D3nP9v22KPe4WeaVvqWJxPmwc45AuRf5sBBmJq3JpvWYW4eIWZBgbsBXSP8wsCOYi7
         QbAJshF77ScgD4m1XAaWx2Gp/mAXGkTrFvZKYOoWyZ8YdsyJKmF1TfszNQs1OYRWEp3A
         6i04mO7+qAanlaHEJriU7+t1LMFqAl4jspssfNgayP7o6F7KBzvRNckkHytN/zRvn0d/
         AhK48iKTSrzz8bAMmiQnCNoc5vJhI8j46VPg0svpziw48wznBs/hZ5ejcJPUvRHSpe/+
         Lfmpehvrvtn5hgdS6gngmbv3w4VVE06LDApVId2fPlnh0mLGi3gpPhHSJvIpL2gbPPZi
         Brrw==
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
         :mime-version:in-reply-to:references:thread-topic:message-id:to:from
         :date:user-agent:arc-authentication-results;
        bh=wgxI8IsbXfcWU8w/Hp9Y6Oc0qs+j5LjyMVoEmrD/TgM=;
        b=FkmwykNouyWy+GTq0SCK3j/uf+5gghomhRdxvyfXtCMLpC3s+dbf3ahkb2nxYgjDkp
         O1PTU7VVYC9OOvHm7uHsxka+1ntYPpoAVL6DA34UYPgNOk4XlCdx5SwhYMrQ8eWYtvZw
         Ekzy/s+izarDCUc8rvhaDVgrcbg7dl8v0d/Muc2spZP9dw0o7Fy7ym//OY4AjUfnIxfn
         naf6oDwLatavEHpsTQFbTMoMvhzw6gxVC6NGybjF9y0crgRjxY8TZ1gGrSTaFUt5ShPD
         Zrw3MB5P7ATOBWcYqTIuU3nkktADbHHlHyywPQ3NvFUoaHoob4EU0wFgkisfgcJ+a82+
         mLWQ==
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
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 f134-v6si3148968wme.28.2018.06.06.07.02.48;
        Wed, 06 Jun 2018 07:03:01 -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
Received: from [10.1.0.241] (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id EA6DC35C2E9;
	Wed,  6 Jun 2018 08:58:23 -0500 (EST)
Received: from mail-it0-f51.google.com (mail-it0-f51.google.com
	[209.85.214.51])
	by lists.maptools.org (Postfix) with ESMTPS id DB8E435C2E4
	for <tiff@lists.maptools.org>; Wed,  6 Jun 2018 08:58:09 -0500 (EST)
Received: by mail-it0-f51.google.com with SMTP id n7-v6so8261619itn.1
	for <tiff@lists.maptools.org>; Wed, 06 Jun 2018 06:58:09 -0700 (PDT)
X-Received: by 2002:a24:a43:: with SMTP id 64-v6mr2714632itw.140.1528293488324;
	Wed, 06 Jun 2018 06:58:08 -0700 (PDT)
Received: from [192.168.1.113] (dyn-177.cmts01.cable.TORON17.iasl.com.
	[206.210.119.177]) by smtp.gmail.com with ESMTPSA id
	l13-v6sm5661302iob.82.2018.06.06.06.58.04
	(version=TLS1 cipher=AES128-SHA bits=128/128);
	Wed, 06 Jun 2018 06:58:07 -0700 (PDT)
User-Agent: Microsoft-MacOutlook/14.7.7.170905
Date: Wed, 06 Jun 2018 09:57:55 -0400
From: Kemp Watson <kemp@objectivepathology.com>
To: Bhaskar Reddy <reddy.baskar0605@gmail.com>
Message-ID: <D73D5FAA.6ABB9%kemp@objectivepathology.com>
Thread-Topic: [Tiff] Adding bunch of numerical data to tiff image
References: <CAB82cH5Hg2m6WMduuroRhQypyfNf3Tf6xMKrc9cvvMH_mAWekg@mail.gmail.com>
	<CANoujwE3JzXxW5Bm7Z-bxs6ZmakRvDS6w5fiDwW74ozO+A1ftg@mail.gmail.com>
	<CAB82cH502B8gf=m7ns513ozAhqj_YGmyxOzZT-FK6VD87+mVjQ@mail.gmail.com>
In-Reply-To: <CAB82cH502B8gf=m7ns513ozAhqj_YGmyxOzZT-FK6VD87+mVjQ@mail.gmail.com>
Mime-version: 1.0
Cc: tiff@lists.maptools.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="===============0689382246=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--===============0689382246==
Content-type: multipart/alternative;
	boundary="B_3611123886_30386514"

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3611123886_30386514
Content-type: text/plain;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

Or, more generally, if Rob=B9s guess is correct, one new IFD as: make a
channel for each array of data points, and each channel of an appropriate
bit depth for the data represented. Or, separate grayscale image IFDs for
each data array.

Kemp

From:  <tiff-bounces@lists.maptools.org> on behalf of Bhaskar Reddy
<reddy.baskar0605@gmail.com>
Date:  Wednesday, June 6, 2018 at 3:47 AM
To:  Rob Tillaart <rob.tillaart@gmail.com>
Cc:  <tiff@lists.maptools.org>, <tiff@remotesensing.org>
Subject:  Re: [Tiff] Adding bunch of numerical data to tiff image

Yeah, that's a good idea Rob.

Do you have sample link/code for array of 16 bit grayscale image?

Thank you,
Bhaskar.


On Wed, Jun 6, 2018, 2:41 AM Rob Tillaart <rob.tillaart@gmail.com> wrote:
> 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.
>=20
> Rob
>=20
> On Wed, Jun 6, 2018 at 8:51 AM Bhaskar Reddy <reddy.baskar0605@gmail.com>
> wrote:
>> Hi everyone,
>>=20
>> I am trying to add data [200,8,205,10,300,6,250,5,
>> ........................300,6,350,4]
>> but not able to.
>>=20
>> Is there any way to add a bunch of integers to Tiff image as Tiff tag?
>>=20
>> Example:
>> value=3D [200,8,205,10,300,6,250,5, ........................300,6,350,4]
>> TIFFSetField(tif,TIFFTAG_T02, value)
>>=20
>> static const TIFFFieldInfo textfields[]=3D{
>> { TIFFTAG_T02, 1, 1, TIFF_LONG, FIELD_CUSTOM, 0, 0, "text02"},
>> };
>>=20
>> Thank you,
>> Bhaskar.
>> _______________________________________________
>> Tiff mailing list: Tiff@lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/tiff
>> http://www.remotesensing.org/libtiff/
_______________________________________________ Tiff mailing list:
Tiff@lists.maptools.org http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/


--B_3611123886_30386514
Content-type: text/html;
	charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 15px; font-family: Calibri, sans-serif;"><div>Or, more generally, if Rob&#8=
217;s guess is correct, one new IFD as: make a channel for each array of dat=
a points, and each channel of an appropriate bit depth for the data represen=
ted. Or, separate grayscale image IFDs for each data array.</div><div><br></=
div><div>Kemp</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=
=3D"font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-=
BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-=
LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: =
medium none; PADDING-TOP: 3pt"><span style=3D"font-weight:bold">From: </span> =
&lt;<a href=3D"mailto:tiff-bounces@lists.maptools.org">tiff-bounces@lists.mapt=
ools.org</a>&gt; on behalf of Bhaskar Reddy &lt;<a href=3D"mailto:reddy.baskar=
0605@gmail.com">reddy.baskar0605@gmail.com</a>&gt;<br><span style=3D"font-weig=
ht:bold">Date: </span> Wednesday, June 6, 2018 at 3:47 AM<br><span style=3D"fo=
nt-weight:bold">To: </span> Rob Tillaart &lt;<a href=3D"mailto:rob.tillaart@gm=
ail.com">rob.tillaart@gmail.com</a>&gt;<br><span style=3D"font-weight:bold">Cc=
: </span> &lt;<a href=3D"mailto:tiff@lists.maptools.org">tiff@lists.maptools.o=
rg</a>&gt;, &lt;<a href=3D"mailto:tiff@remotesensing.org">tiff@remotesensing.o=
rg</a>&gt;<br><span style=3D"font-weight:bold">Subject: </span> Re: [Tiff] Add=
ing bunch of numerical data to tiff image<br></div><div><br></div><div dir=3D"=
auto"><div>Yeah, that's a good idea Rob.<div dir=3D"auto"><br></div><div dir=3D"=
auto">Do you have sample link/code for array of 16 bit grayscale image?</div=
><div dir=3D"auto"><br></div><div dir=3D"auto">Thank you,</div><div dir=3D"auto">B=
haskar.</div><br><br><div class=3D"gmail_quote"><div dir=3D"ltr">On Wed, Jun 6, =
2018, 2:41 AM Rob Tillaart &lt;<a href=3D"mailto:rob.tillaart@gmail.com">rob.t=
illaart@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" st=
yle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=
=3D"ltr">just wondering,<div>Is every value related to a pixel (tile row colum=
n) in the image?</div><div>if so you could always create a 16 bit grayscale =
image to hold the array.</div><div><br></div><div>Rob</div></div><br><div cl=
ass=3D"gmail_quote"><div dir=3D"ltr">On Wed, Jun 6, 2018 at 8:51 AM Bhaskar Redd=
y &lt;<a href=3D"mailto:reddy.baskar0605@gmail.com" target=3D"_blank" rel=3D"noref=
errer">reddy.baskar0605@gmail.com</a>&gt; wrote:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex"><div dir=3D"ltr">Hi everyone,<div><br></div><div>I am trying to add da=
ta&nbsp;<span style=3D"font-size:small;background-color:rgb(255,255,255);text-=
decoration-style:initial;text-decoration-color:initial;float:none;display:in=
line">[200,8,205,10,300,6,250,5, ........................300,6,</span><span =
style=3D"font-size:small;background-color:rgb(255,255,255);text-decoration-sty=
le:initial;text-decoration-color:initial;float:none;display:inline">350,4]</=
span></div><div>but not able to.</div><div><br></div><div>Is there any way&n=
bsp;to add a bunch of integers to Tiff image as Tiff tag?</div><div><br></di=
v><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:init=
ial;float:none;display:inline">value=3D [200,8,205,10,300,6,250,5, ...........=
.............300,6,</span><span style=3D"font-size:small;background-color:rgb(=
255,255,255);text-decoration-style:initial;text-decoration-color:initial;flo=
at:none;display:inline">350,4]</span></div><div><span style=3D"font-size:small=
;background-color:rgb(255,255,255);text-decoration-style:initial;text-decora=
tion-color:initial;float:none;display:inline">TIFFSetField(tif,TIFFTAG_T02, =
value)</span><br></div><div><br></div><div>static const TIFFFieldInfo textfi=
elds[]=3D{</div><div><span style=3D"background-color:rgb(255,255,255);text-decor=
ation-style:initial;text-decoration-color:initial;float:none;display:inline"=
>{ TIFFTAG_T02, 1, 1, TIFF_LONG, FIELD_CUSTOM, 0, 0, "text02"},</span></div>=
<div><span style=3D"background-color:rgb(255,255,255);text-decoration-style:in=
itial;text-decoration-color:initial;float:none;display:inline">};<br></span>=
</div><div><br></div><div><div class=3D"m_-3988476789571202946m_-9147988597855=
272930gmail-m_-270589426810364172gmail_signature"><div dir=3D"ltr"><div><div d=
ir=3D"ltr">Thank you,</div><div dir=3D"ltr">Bhaskar.</div></div></div></div></di=
v></div>
_______________________________________________<br>
Tiff mailing list: <a href=3D"mailto:Tiff@lists.maptools.org" target=3D"_blank"=
 rel=3D"noreferrer">Tiff@lists.maptools.org</a><br><a href=3D"http://lists.mapto=
ols.org/mailman/listinfo/tiff" rel=3D"noreferrer noreferrer" target=3D"_blank">h=
ttp://lists.maptools.org/mailman/listinfo/tiff</a><br><a href=3D"http://www.re=
motesensing.org/libtiff/" rel=3D"noreferrer noreferrer" target=3D"_blank">http:/=
/www.remotesensing.org/libtiff/</a></blockquote></div></blockquote></div></d=
iv></div>
_______________________________________________
Tiff mailing list: <a href=3D"mailto:Tiff@lists.maptools.org">Tiff@lists.mapt=
ools.org</a>
<a href=3D"http://lists.maptools.org/mailman/listinfo/tiff">http://lists.mapt=
ools.org/mailman/listinfo/tiff</a>
<a href=3D"http://www.remotesensing.org/libtiff/">http://www.remotesensing.or=
g/libtiff/</a></span></body></html>

--B_3611123886_30386514--



--===============0689382246==
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/
--===============0689382246==--

