Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from mailgate125.isp.belgacom.be ([195.238.20.57])
          by mailfep017.skynet.be
          (InterMail vM.8.04.03.28.4 201-2389-100-182-103-20180124)
          with ESMTP
          id <20210826180833.LILD4395.mailfep017.skynet.be@mailgate125.isp.belgacom.be>
          for <chris.lindelaan@skynet.be>; Thu, 26 Aug 2021 20:08:33 +0200
Received-SPF: None (mx101.skynet.be: no sender authenticity
  information available from domain of
  tiff-bounces@lists.osgeo.org) identity=pra;
  client-ip=140.211.15.3; receiver=mx101.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible
Received-SPF: Pass (mx101.skynet.be: domain of
  tiff-bounces@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=mailfrom; client-ip=140.211.15.3;
  receiver=mx101.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
Received-SPF: Pass (mx101.skynet.be: domain of
  postmaster@lists.osgeo.org designates 140.211.15.3 as
  permitted sender) identity=helo; client-ip=140.211.15.3;
  receiver=mx101.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="postmaster@lists.osgeo.org";
  x-conformance=sidf_compatible; x-record-type="v=spf1";
  x-record-text="v=spf1 mx a:mail.osgeo.org a:lists.osgeo.org
  a:mail.osgeo.osuosl.org a:tracsvn.osgeo.osuosl.org -all"
Authentication-Results: mx101.skynet.be; spf=None smtp.pra=tiff-bounces@lists.osgeo.org; spf=Pass smtp.mailfrom=tiff-bounces@lists.osgeo.org; spf=Pass smtp.helo=postmaster@lists.osgeo.org; dkim=hardfail (body hash did not verify [final]) header.i=@gmail.com; dkim=hardfail (body hash did not verify [final]) header.i=@gmail.com; dmarc=fail (p=none dis=none) d=gmail.com
IronPort-SDR: YuG+JJQXhG7zzWZcR14Dk4o7LY+kXhMU16zYi0P3/Cs0hP0RNCRF4kuUEPJNBJxZJDIWbE1J3J
 t3JU3YrtjRvZws0iTbTpOQJykNbsTZMpYVchJ3zcIvM5e3FCuFLL32s7a6U14q+C9eQeqRcYn9
 O7/KuDSw50MwopsbVhnw215OtZBCJF42vBiMxCaZJln1DHrveMjL3lkmAU5nHa/HyjNuCrMCkK
 MNLdCqgTAI0muYFqkvW6vLT/971LzMVm2ffHSTuEyome5rfpcfFow+zyVqnWEVk3Q+i95rkGwo
 wa4od0KNPNJS6QCJfFU9ohHc
X-Proximus-RemoteIp: 140.211.15.3
X-Proximus-Mfrom: tiff-bounces@lists.osgeo.org
X-Proximus-Rcpto: chris.lindelaan@skynet.be
X-IPAS-Result: =?us-ascii?q?A0GkBDMT2CdhhwMP04xXAx4BAQsSDECBGjQLgSOBAQEYA?=
 =?us-ascii?q?WRXAScDBzmESINLhTmIBgOIJYNQHINni32BQBYdFAEBAgEBAQEBCSoBDggEA?=
 =?us-ascii?q?QEBAgEDJQKBSYJ1UwmBWB8GAQQwCQ4BAgECAQEBAQEDAgMBAQEBBQEBAQQBA?=
 =?us-ascii?q?QECAQECAwICAQECEAEBAYEhBoEEAwFABGYGXwSBdAwCMQ2CNQUCAx8BBgtjT?=
 =?us-ascii?q?QMDNAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBBAIIB?=
 =?us-ascii?q?U0FHygBHwEBAQIBAQEBDxEdAQUKBQcSCwECAQEBAQIGAQEFBQsvBAQCAgMBH?=
 =?us-ascii?q?gEEAQwBBQEcBhMFHYJPAYJUAQMOIQUKnXKBBD2LMAKBFRyBAYIIBgUCAQN7O?=
 =?us-ascii?q?QGDCAoZKA1lA4FXAgcSgSiFcQJTSAEBhEqCIDeBVUR6UYJzPoFSeRcBAQIBg?=
 =?us-ascii?q?goagl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VoKEm0naKdo7NxAV7IZmLbUR6TXeJfBPzZsl/d8kPFm9K1rZ
 0BT0F2MqyWMXFKyfj/pDO1FMtl/dmC/Lq0jePGpk0dKD1XVw==
X-IronPort-Anti-Spam-Filtered: true
X-MGA-submission: =?us-ascii?q?MDHjetRvb7ZpWmzXfO+Kfetcy/QGP8fX5ZiZ7e?=
 =?us-ascii?q?Aaf4rlCojRa5zRstW4BsB+DoPVjirM4iT2DxUAgkQyJ6df5Baqia058H?=
 =?us-ascii?q?UfIT6o6ceRMEUVL1WBT0rVW2M/WGH1Vatbdm0=3D?=
Received: from osgeo6.osgeo.osuosl.org (HELO lists.osgeo.org) ([140.211.15.3])
  by mx101.skynet.be with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2021 20:08:31 +0200
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 9B5646142C83;
	Thu, 26 Aug 2021 11:08:26 -0700 (PDT)
Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com
 [209.85.208.172])
 by lists.osgeo.org (Postfix) with ESMTPS id 22E306146800
 for <tiff@lists.osgeo.org>; Thu, 26 Aug 2021 11:08:25 -0700 (PDT)
Received: by mail-lj1-f172.google.com with SMTP id q21so6704738ljj.6
 for <tiff@lists.osgeo.org>; Thu, 26 Aug 2021 11:08:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=euZujs2bjZagGiKgxHJ3XVY+c4ACAfDo3nCD4uzrom8=;
 b=FZ33VPfYsub5G118PB8yxJkKSm9Z3zhapB7zsq/gQB7WUpurid4D7jI+SD54QOTVCA
 iSYROvQxP9K7L1gwiYblPAE7EWaxVgx1JZA921syIJqd9c+4C9tXgs7z4T8VdWYnWtIP
 EQiETfQ7tZqsPw5xaq5nSkT2skY0ss9//+siPmdROcVrZpAFHF0YVskcJ7oGeJxB0glw
 7fcNX0i1uyXNlzULpCri0vZAM11iyqpD9DvcRve3FOiWYSWcBoUlIgfbJ+tkAjrRNivz
 ssgnAAbNcVzA7rCs898o9qXpmo0stdGKYS5hVp30BhLqObdRDL5n2AMRM9ZNtOone/BW
 ejCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=euZujs2bjZagGiKgxHJ3XVY+c4ACAfDo3nCD4uzrom8=;
 b=VUpU8+jeAf/c7lPujptLYlMCuM6cD/7BNlr2YvxrJXWd6CAESneedHmTMygMH0iG1/
 hfpeZfFP+jMlriqjxP1sDjD/gPoAOYa4QNWsJ6Vfzw9qfybRi7rLOamxthYFcpNHFbSS
 iHBbLGKgF+VWgRhiSgeABMkLLCstopLqqRCFgUIXu8XD8coHfk/xjXrEpFBx7Bpk0nWG
 LAqYUDy55+ZDT+AcQH/8U+57QEJzZX1v458XJ+nCq9QSW93hc+LdzkcGvFm6DHRWMkrE
 wMYqBz0qKRi5X8ek3nfZRADta9mrg7cC9B/+IQdAB6CI4Ae7Zy/M7ReDiLB8EgcTJgpM
 LH2Q==
X-Gm-Message-State: AOAM532Ei0gyjSzRuVnuAjRPEWxgBj2eunC6MsOyRXvE2/lU9Uob9KWt
 pPixO2tK+6K98CczJoqXqFvtytugD4j0+SC7hOx7w7Hylvs=
X-Google-Smtp-Source: ABdhPJwq6ALvDWWkg+QDWNbBSLCn5twY6Ro7EaBft/j3dt5vgqpFpFfYwByxenAuiy3s79f2GpesJLgHf/VJp9N33No=
X-Received: by 2002:a2e:8495:: with SMTP id b21mr4292496ljh.4.1630001303252;
 Thu, 26 Aug 2021 11:08:23 -0700 (PDT)
MIME-Version: 1.0
References: <CAJf0+Ahq4+zuRaZwGOjVxWhWwdG9xhbD_HZvXDaEX=f6Yc-Few@mail.gmail.com>
 <600305dd-5835-dea0-de70-9e1a35b2af65@spatialys.com>
In-Reply-To: <600305dd-5835-dea0-de70-9e1a35b2af65@spatialys.com>
From: Rob Tillaart <rob.tillaart@gmail.com>
Date: Thu, 26 Aug 2021 20:08:12 +0200
Message-ID: <CANoujwHo=7N=+7Yh9nSPfxNvk9MD2B9+R3R48iAs2Jv1o1R+Jg@mail.gmail.com>
To: Even Rouault <even.rouault@spatialys.com>
Subject: Re: [Tiff] Setting/Getting Custom Metadata
X-BeenThere: tiff@lists.osgeo.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.osgeo.org>
List-Unsubscribe: <https://lists.osgeo.org/mailman/options/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=unsubscribe>
List-Post: <mailto:tiff@lists.osgeo.org>
List-Help: <mailto:tiff-request@lists.osgeo.org?subject=help>
List-Subscribe: <https://lists.osgeo.org/mailman/listinfo/tiff>,
 <mailto:tiff-request@lists.osgeo.org?subject=subscribe>
Cc: tiff@lists.osgeo.org
Content-Type: multipart/mixed; boundary="===============3010522122740838945=="
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>

--===============3010522122740838945==
Content-Type: multipart/alternative; boundary="000000000000a9f10d05ca7a40e0"

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

thinking out loud, a binary tag could be uuencoded and handled as ASCII as
Even Rouault states.
And uudecoded when extracting it.
my 2 cents

On Thu, Aug 26, 2021 at 8:02 PM Even Rouault <even.rouault@spatialys.com>
wrote:

> Reynaldo,
>
> I've some vague recollection of having looked for what would be the "new"
> interface and failed in doing so (my impression was that such a new
> interface was never completed). In the software I maintain, I use
> TIFFMergeFieldInfo and that works fine for ASCII tags. See
> https://github.com/OSGeo/gdal/blob/028757368b9064575b133b2bd9e6a928b69915=
cb/gdal/frmts/gtiff/geotiff.cpp#L19779
>
> Even
> Le 26/08/2021 =C3=A0 19:40, Reynaldo FariasZorrilla via Tiff a =C3=A9crit=
 :
>
> Hello!
>
> How does one set and get custom metadata using libtiff? I've searched the
> internet for a while, but the resources are scarce. I've managed to set a=
nd
> get non-ASCII tags using the obsolete custom tag interface
> (TIFFMergeFieldInfo and the such), but I've had trouble getting the new
> interface to work (not sure what the new interface actually *is*), and
> I've had no luck with ASCII values in the old interface.
>
> Any help is appreciated.
> Thanks,
> Reynaldo
>
> --
> Reynaldo Farias Zorrilla
> Software Engineer, Embedded
> reynaldo.fariaszorr@10xgenomics.com
> [image: 10x Genomics] <http://www.10xgenomics.com/>
> Mobile 925 977 5404
> 6230 Stoneridge Mall Road
> Pleasanton, CA 94588-3260  |  10xgenomics.com
> <http://www.10xgenomics.com/>
>
> _______________________________________________
> Tiff mailing listTiff@lists.osgeo.orghttps://lists.osgeo.org/mailman/list=
info/tiff
>
> -- http://www.spatialys.com
> My software is free, but my time generally not.
>
> _______________________________________________
> Tiff mailing list
> Tiff@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/tiff
>

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

<div dir=3D"ltr"><br><div>thinking out loud, a binary tag could be uuencode=
d and handled as ASCII as Even Rouault states.=C2=A0<br>And uudecoded when =
extracting it.=C2=A0<br>my 2 cents</div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Aug 26, 2021 at 8:02 PM Eve=
n Rouault &lt;<a href=3D"mailto:even.rouault@spatialys.com">even.rouault@sp=
atialys.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex">
 =20
   =20
 =20
  <div>
    <p>Reynaldo,</p>
    <p>I&#39;ve some vague recollection of having looked for what would be
      the &quot;new&quot; interface and failed in doing so (my impression w=
as that
      such a new interface was never completed). In the software I
      maintain, I use TIFFMergeFieldInfo and that works fine for ASCII
      tags. See
<a href=3D"https://github.com/OSGeo/gdal/blob/028757368b9064575b133b2bd9e6a=
928b69915cb/gdal/frmts/gtiff/geotiff.cpp#L19779" target=3D"_blank">https://=
github.com/OSGeo/gdal/blob/028757368b9064575b133b2bd9e6a928b69915cb/gdal/fr=
mts/gtiff/geotiff.cpp#L19779</a></p>
    <p>Even<br>
    </p>
    <div>Le 26/08/2021 =C3=A0 19:40, Reynaldo
      FariasZorrilla via Tiff a =C3=A9crit=C2=A0:<br>
    </div>
    <blockquote type=3D"cite">
     =20
      <div dir=3D"ltr">Hello!
        <div><br>
        </div>
        <div>How does one set and get custom metadata using libtiff?
          I&#39;ve searched the internet for a while, but the resources are
          scarce. I&#39;ve managed to set and get non-ASCII tags using=C2=
=A0the
          obsolete custom tag interface (TIFFMergeFieldInfo and the
          such), but I&#39;ve had trouble getting the new interface to work
          (not sure what the new interface actually <i>is</i>), and
          I&#39;ve had no luck with ASCII values in the old interface.=C2=
=A0</div>
        <div><br>
        </div>
        <div>Any help is appreciated.=C2=A0</div>
        <div>Thanks,</div>
        <div>Reynaldo<br clear=3D"all">
          <div><br>
          </div>
          -- <br>
          <div dir=3D"ltr">
            <div dir=3D"ltr">
              <table style=3D"font-family:&quot;Times New Roman&quot;" cell=
spacing=3D"0" cellpadding=3D"0" border=3D"0">
                <tbody>
                  <tr>
                    <td style=3D"padding:0px" valign=3D"top"><span style=3D=
"color:rgb(0,161,223);font-family:Arial,sans-serif;font-size:14pt">Reynaldo
                        Farias Zorrilla</span><br>
                      <span style=3D"margin-top:0px;margin-bottom:0px;color=
:rgb(82,90,96);font-family:Arial,sans-serif;font-size:10pt;line-height:14pt=
">Software
                        Engineer, Embedded<br>
                        <a href=3D"mailto:reynaldo.fariaszorr@10xgenomics.c=
om" style=3D"color:rgb(82,90,96)" target=3D"_blank">reynaldo.fariaszorr@10x=
genomics.com</a></span><br>
                    </td>
                  </tr>
                  <tr>
                    <td style=3D"padding:20px 0px 8px" valign=3D"top"><a hr=
ef=3D"http://www.10xgenomics.com/" style=3D"color:rgb(82,90,96)" target=3D"=
_blank"><img alt=3D"10x Genomics" title=3D"10x Genomics" width=3D"65" heigh=
t=3D"45" border=3D"0"></a></td>
                  </tr>
                  <tr>
                    <td style=3D"padding:4px 0px 0px" valign=3D"top"><span =
style=3D"color:rgb(82,90,96);font-family:Arial;font-size:10pt;line-height:1=
4pt">Mobile
                        925 977 5404<br>
                        6230 Stoneridge Mall Road<br>
                        Pleasanton, CA 94588-3260 =C2=A0|=C2=A0=C2=A0<a hre=
f=3D"http://www.10xgenomics.com/" style=3D"color:rgb(0,161,223);font-weight=
:600" target=3D"_blank">10xgenomics.com</a></span></td>
                  </tr>
                </tbody>
              </table>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Tiff mailing list
<a href=3D"mailto:Tiff@lists.osgeo.org" target=3D"_blank">Tiff@lists.osgeo.=
org</a>
<a href=3D"https://lists.osgeo.org/mailman/listinfo/tiff" target=3D"_blank"=
>https://lists.osgeo.org/mailman/listinfo/tiff</a>
</pre>
    </blockquote>
    <pre cols=3D"72">--=20
<a href=3D"http://www.spatialys.com" target=3D"_blank">http://www.spatialys=
.com</a>
My software is free, but my time generally not.</pre>
  </div>

_______________________________________________<br>
Tiff mailing list<br>
<a href=3D"mailto:Tiff@lists.osgeo.org" target=3D"_blank">Tiff@lists.osgeo.=
org</a><br>
<a href=3D"https://lists.osgeo.org/mailman/listinfo/tiff" rel=3D"noreferrer=
" target=3D"_blank">https://lists.osgeo.org/mailman/listinfo/tiff</a><br>
</blockquote></div>

--000000000000a9f10d05ca7a40e0--

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

_______________________________________________
Tiff mailing list
Tiff@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/tiff

--===============3010522122740838945==--
