Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx1.pub.mailpod2-cph3.one.com ([10.27.25.11])
	by mailstorage18.cst.mailpod2-cph3.one.com with LMTP id sAOZHDqSF1vg0QAAQS8vrQ
	for <filtered@awaresystems.be>; Wed, 06 Jun 2018 07:50:18 +0000
X-HalOne-ID: 40e50d2d-695e-11e8-8d9d-e0d848957041
Received: from mail-oi0-f43.google.com (unknown [209.85.218.43])
	by mx1.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 40e50d2d-695e-11e8-8d9d-e0d848957041;
	Wed, 06 Jun 2018 07:50:18 +0000 (UTC)
Received: by mail-oi0-f43.google.com with SMTP id k190-v6so4561334oib.9
        for <filtered@awaresystems.be>; Wed, 06 Jun 2018 00:50:17 -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=IbNHi8vZDPDxYIbAwqZ16p5uTAzBc+T3y9K4FEMPrsk=;
        b=Ybdb34bjx3HCNmPH337GkF9CJpUAMZwJZ7cyWQbk+2Q81zqFoFYfj79aO51n2YaIrV
         7MczdSO403y7GVfJCfwHR0dCsgWFn4/QzpEYoPBfPb5tidDofBkkxEp9CtOOjquwRppq
         1LrLEp57BjcfFqaqeZyZzGP6IbljTnXfV5Bwpof5qbdJ63D3Czl4/khSkENoQ5SLpsVZ
         OEVA/M8GgkMuDJ4WSg191S9RD3Imdvo9LCnAAYd+HeG6DksC6k5dZLjwmvS0I1FIjufn
         qnm6e77Xvh11Xs1LvOq9yUbk3H/z9m5L+xFQnFjv0uMW54h487SF6WnYcAknOwuN8H1x
         4OGw==
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: APt69E3dSz2Fui3VnvWu/tkvsSJpSOkJm3uOox4l/XrSlQghWV9DwPAz
	MHgOgKxUez6MREjR71g2aVaTAUQQ18+zsKHBYsMy8rYbldNzgS4=
X-Received: by 2002:aca:6862:: with SMTP id d95-v6mr1064352oic.66.1528271416747;
        Wed, 06 Jun 2018 00:50:16 -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-v6csp525933oop;
        Wed, 6 Jun 2018 00:50:15 -0700 (PDT)
X-Google-Smtp-Source: ADUXVKKk5g+Fh25B73/RvoiZM6Pi5YtzxXA6XtZ/mR/0HE/hccpM7mzbdb6IpKOTey+H5AFTwLxg
X-Received: by 2002:a1c:b7d4:: with SMTP id h203-v6mr905893wmf.161.1528271415888;
        Wed, 06 Jun 2018 00:50:15 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1528271415; cv=none;
        d=google.com; s=arc-20160816;
        b=YMpYUu16IqiVEtlWu5gv8DndggWR93nQklicx/wxerMsyjSQZsN6VXQzp0O0pv7cgG
         pDFeIRYDGKYnv1EyeVn0hpb10UytAz03FLj2/BzJpYIdi9w+/3VWEaxDrPxRTXV4CwIq
         AbvmydbRd9bnmvEfLc5yFXo0yNb1ul8+xuxNF+i/nwZz9JOJ6KEVC1eiupJhEkWffWSp
         0Ep/mgOQFwhIc9aiqKVaHRT9Yd3dD8pn6HcTwbsP7gMTKFTsQkVibWyDMSeGtyUTiSGz
         NiXoOyAlYg9tIJjwcSXCSlm8/IlVoPWh16K8HLAsnY+8Fv3J4oJ85CQBxGErA9uZLrUT
         3nag==
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=IbNHi8vZDPDxYIbAwqZ16p5uTAzBc+T3y9K4FEMPrsk=;
        b=iNZthiEaQYCH7gtg/hBlclY2Sa3DX1yunuc+G0fSfmbHbstle40WJQ87lBNQAoVqqn
         XmKxLmYUyRxMiME4W8+Rkpj4ZxpH00p9kg+VKi7IIVVQhbTEW2JIqcsTAcY9iF4IvozQ
         P+/n5jlA/txuOfUlwTAVji1ZSMY2gwpEx0xMTucc4mbMOxkPqjXkoHSjKcFvB6CKKAsH
         UdcsFqCAhKOSGjSsnQB29Vu6drFPG971aTtcA1RxJIUJ5oZbIXo1PLslD2FPdLjAApNG
         vYcW13aRONDqDglJK7Douv7l01lv3iYGQ/zOn1SDsSSeyfqenjsmVA+xWjS0/6PjVvxF
         hEvQ==
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 e5-v6si6108387wrc.443.2018.06.06.00.50.15;
        Wed, 06 Jun 2018 00:50:15 -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 9778D35C1BF;
	Wed,  6 Jun 2018 02:48:11 -0500 (EST)
Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com
	[209.85.218.50])
	by lists.maptools.org (Postfix) with ESMTPS id 60D9635C1B8
	for <tiff@lists.maptools.org>; Wed,  6 Jun 2018 02:48:04 -0500 (EST)
Received: by mail-oi0-f50.google.com with SMTP id 14-v6so4577068oie.3
	for <tiff@lists.maptools.org>; Wed, 06 Jun 2018 00:48:04 -0700 (PDT)
X-Received: by 2002:aca:db82:: with SMTP id
	s124-v6mr1132213oig.339.1528271283646; 
	Wed, 06 Jun 2018 00:48:03 -0700 (PDT)
MIME-Version: 1.0
References: <CAB82cH5Hg2m6WMduuroRhQypyfNf3Tf6xMKrc9cvvMH_mAWekg@mail.gmail.com>
	<CANoujwE3JzXxW5Bm7Z-bxs6ZmakRvDS6w5fiDwW74ozO+A1ftg@mail.gmail.com>
In-Reply-To: <CANoujwE3JzXxW5Bm7Z-bxs6ZmakRvDS6w5fiDwW74ozO+A1ftg@mail.gmail.com>
From: Bhaskar Reddy <reddy.baskar0605@gmail.com>
Date: Wed, 6 Jun 2018 02:47:51 -0500
Message-ID: <CAB82cH502B8gf=m7ns513ozAhqj_YGmyxOzZT-FK6VD87+mVjQ@mail.gmail.com>
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
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="===============0799780484=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0799780484==
Content-Type: multipart/alternative; boundary="000000000000fb779a056df46200"

--000000000000fb779a056df46200
Content-Type: text/plain; charset="UTF-8"

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.
>
> 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/
>
>

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

<div dir=3D"auto"><div>Yeah, that&#39;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">Bhaskar.</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.tillaart@gmail.com</a>&gt; wrote:<br></=
div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">just wondering,<div>Is =
every value related to a pixel (tile row column) in the image?</div><div>if=
 so you could always create a 16 bit grayscale image to hold the array.</di=
v><div><br></div><div>Rob</div></div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr">On Wed, Jun 6, 2018 at 8:51 AM Bhaskar Reddy &lt;<a href=3D"mailt=
o:reddy.baskar0605@gmail.com" target=3D"_blank" rel=3D"noreferrer">reddy.ba=
skar0605@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-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-de=
coration-style:initial;text-decoration-color:initial;float:none;display:inl=
ine">[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;float:none;display:inline">350,=
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_-3988476789571202946m_-9147988597855272930gmail-m_-270=
589426810364172gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr">Than=
k 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" rel=3D"noreferrer">Tiff@lists.maptools.org</a><br>
<a href=3D"http://lists.maptools.org/mailman/listinfo/tiff" rel=3D"noreferr=
er noreferrer" target=3D"_blank">http://lists.maptools.org/mailman/listinfo=
/tiff</a><br>
<a href=3D"http://www.remotesensing.org/libtiff/" rel=3D"noreferrer norefer=
rer" target=3D"_blank">http://www.remotesensing.org/libtiff/</a></blockquot=
e></div>
</blockquote></div></div></div>

--000000000000fb779a056df46200--

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