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 (Dovecot) with LMTP id SeEGHojU9VoT3wAAQS8vrQ
	for <filtered@awaresystems.be>; Fri, 11 May 2018 17:57:53 +0000
X-HalOne-ID: d30c18ed-5544-11e8-8d9d-e0d848957041
Received: from mail-ot0-f181.google.com (unknown [74.125.82.181])
	by mx1.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id d30c18ed-5544-11e8-8d9d-e0d848957041;
	Fri, 11 May 2018 17:57:53 +0000 (UTC)
Received: by mail-ot0-f181.google.com with SMTP id l13-v6so7170407otk.9
        for <filtered@awaresystems.be>; Fri, 11 May 2018 10:57:52 -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:in-reply-to:references: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=nYr9nDXVROPZtwcl4QBo+FXEPELegZBqZf0r8xRJjWI=;
        b=HMd9uxWN86Jxo4wnfyrVF/3ET0D+d+tpK+4j+h6cHpLKOYnYwG74YVCqFnW5gF2VHJ
         /1ja0prDKFkxF0ccP3l/hHgwSMxcTIJiPz7evKQwx5vh7Pq3p/JMxz2Cevc2z0A4LLBe
         L8u0zAxErhiCsHWaqDxHaXeK2X5ZmHK3mFqajuTvuYqSmGyR6Hw5zhZARTCu8JIV1K53
         RMgs4XciSsZX1VBxrxnv52KJz+1fCO2usWO3HJv7NMjEdqRLe2tIZ34LQSLxcOVU4ZbV
         ik4qwYlhUqVhm/Bu9ChAFvk3vj2P1fOrQsrrftNg5qRYlTG4hydh5MUyal/vyQIM3A87
         SlYw==
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: ALKqPwdKBBmApFjHmfv9z1eVDIktjb2iIa15x6tRMd4X84UKpEYkUcsk
	IE5cYvF3MUZIIUrvAsYF1vdHuHikSSviwI0Kg+C3QDHUPvApIJE=
X-Received: by 2002:a9d:1e1:: with SMTP id e88-v6mr4723501ote.10.1526061471779;
        Fri, 11 May 2018 10:57:51 -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:650d:0:0:0:0:0 with SMTP id y13-v6csp1122824ooc;
        Fri, 11 May 2018 10:57:50 -0700 (PDT)
X-Google-Smtp-Source: AB8JxZqS5NkJg/FBMm6Y+Indt6l1w+QXXbx54GQde3z9y7/i3DEBVJMypmfd3nzxZH3A7UdRmAiP
X-Received: by 2002:a1c:404:: with SMTP id 4-v6mr2332224wme.23.1526061470818;
        Fri, 11 May 2018 10:57:50 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1526061470; cv=none;
        d=google.com; s=arc-20160816;
        b=0zSsCvNPD4RNOE1nhf/4vCl2BV9gjyrTecIUU+TVrnHXJjIGeWoRhV+GKwVvQebyVU
         qEUXKW1kn2/nR1IAlXLJOqNtl7fKtq5kPvBTAqQBTV+VF1tSh7emj+mO4wnnDgxoOkYW
         3KZqe9nG88vLjp/xOM+nNp/ysrv4vtLDlJ7/aEgPpRUZQZAe33b2ol3HpCWXchO0a6t7
         MghRPxj8eeawNeaf2srBpJY40WIl6ez0jLq3Mflv6hbay6PkGGy2SB5QAepDYKK10UWP
         IHk4MJQ0/Q7zIv8gzq2gef9qb+KNSqE7MIbu2Iy9apHPm0gK8ChGGj7yF2UjiJ+MyDcU
         pUvQ==
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:references:in-reply-to:mime-version
         :arc-authentication-results;
        bh=nYr9nDXVROPZtwcl4QBo+FXEPELegZBqZf0r8xRJjWI=;
        b=TDrIGpxWPPMe8mEUSgxlNqV5fzVfmcyXnCgiwcBNEI9hqSKfmMWo70CSrvQlMX1Y/2
         r4iE3jhSP2zftTWj6vtd3YxO+1/RdFVQ7+qlXJXJ1GYUHTOm6/u2FAM2cX/Ou/xLLlyx
         lQzOyOOVKAqT4b8REeajrKjI8EPjLSf6dhDqADSgfgwT6dJ4evDn6zZfGUQbD97Oa8ZC
         rbdbnLOGnbseMwxKfbdPGscK+ddB5dFXMq0AmDvODAtJceAi2NEAGL8qawcVd/3tPAxd
         asJju0+gcp71Q0tK+79rEM8tBEVNPrjpO2TOjsHhlLtISX18GHVFmcwNEm+xhAO0yqQf
         Hd2Q==
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 h34-v6si3234710wrf.259.2018.05.11.10.57.50;
        Fri, 11 May 2018 10:57:50 -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 5887635C0A1;
	Fri, 11 May 2018 12:57:05 -0500 (EST)
Received: from mail-wr0-f169.google.com (mail-wr0-f169.google.com
	[209.85.128.169])
	by lists.maptools.org (Postfix) with ESMTPS id 32A3C35C09E
	for <tiff@lists.maptools.org>; Fri, 11 May 2018 12:55:18 -0500 (EST)
Received: by mail-wr0-f169.google.com with SMTP id v15-v6so6129153wrm.10
	for <tiff@lists.maptools.org>; Fri, 11 May 2018 10:55:18 -0700 (PDT)
X-Received: by 2002:adf:cc8c:: with SMTP id p12-v6mr19702wrj.280.1526061318293;
	Fri, 11 May 2018 10:55:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.135.87 with HTTP; Fri, 11 May 2018 10:55:17 -0700 (PDT)
In-Reply-To: <134CDEBF-C507-4030-BFF9-2DAEED174525@larrygritz.com>
References: <mailman.9422.1526041493.687.tiff@lists.maptools.org>
	<FCA043DF-5C93-450B-B34E-7EC1D53763AE@larrygritz.com>
	<CAAcuQeY_Gz5x4eQweCo33Bmkj8U2=EbvBwbN40fRBKn=2bwNVA@mail.gmail.com>
	<134CDEBF-C507-4030-BFF9-2DAEED174525@larrygritz.com>
From: Kemp Watson <kemp@objectivepathology.com>
Date: Fri, 11 May 2018 13:55:17 -0400
Message-ID: <CACp925SL2WRTpKeVFxKk5sPNniG2_fGnue_gpSJpGW11G6_p_g@mail.gmail.com>
To: Larry Gritz <lg@larrygritz.com>
Cc: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] Question about transfer function
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="===============0767861974=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0767861974==
Content-Type: multipart/alternative; boundary="000000000000c867aa056bf1d625"

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

That's easy... not really part of TIFF, but _in_ TIFF at least: define a
tag to hold a JSON object, for example (or YAML/TOML/XML etc if you're so
inclined).
Would be nice to make it official... but we can't do that :)

K.

On Fri, May 11, 2018 at 1:39 PM, Larry Gritz <lg@larrygritz.com> wrote:

> On May 11, 2018, at 9:43 AM, Olivier Paquet <olivier.paquet@gmail.com>
> wrote:
>
>
> That's more or less what we chose to do several years ago but on a
> smaller scale (only a handful of built-in spaces supported). As there
> was no tag for it, we stuffed the information in
> TIFFTAG_IMAGEDESCRIPTION. I'm not saying it's great... but embedding
> the whole thing into each single image is indeed not great either. I
> like the idea of a dedicated tag to reference an OCIO color space.
>
>
> Yes, indeed, there are already a couple pieces of important metadata that
> I just shove into the ImageDescription and then parse it on the other end,
> but generally I only do this for textures, where I know it's my own apps
> that are the only readers that matter.
>
> I've hesitated expanding how much I do that generally, knowing that most
> tiff readers won't recognize it, and it's probably also confusing to apps
> who actually expect a caption or image description to be there. But I
> suppose that as the percentage grows of readers and writers that
> exclusively access image files through my library (in the VFX field, at
> least), I can rely on that more. But it's not nearly as attractive as
> dedicated tags for the most important items. It's a true weakness of TIFF
> that it does not allow for arbitrary named metadata.
>
> --
> Larry Gritz
> lg@larrygritz.com
>
>
>
>
>
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/
>

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

<div dir=3D"ltr"><div><div>That&#39;s easy... not really part of TIFF, but =
_in_ TIFF at least: define a tag to hold a JSON object, for example (or YAM=
L/TOML/XML etc if you&#39;re so inclined).<br></div>Would be nice to make i=
t official... but we can&#39;t do that :)<br><br></div>K.<br></div><div cla=
ss=3D"gmail_extra"><br><div class=3D"gmail_quote">On Fri, May 11, 2018 at 1=
:39 PM, Larry Gritz <span dir=3D"ltr">&lt;<a href=3D"mailto:lg@larrygritz.c=
om" target=3D"_blank">lg@larrygritz.com</a>&gt;</span> wrote:<br><blockquot=
e class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc sol=
id;padding-left:1ex"><div style=3D"word-wrap:break-word;line-break:after-wh=
ite-space"><span class=3D"">On May 11, 2018, at 9:43 AM, Olivier Paquet &lt=
;<a href=3D"mailto:olivier.paquet@gmail.com" target=3D"_blank">olivier.paqu=
et@gmail.com</a>&gt; wrote:<br><div><blockquote type=3D"cite"><br class=3D"=
m_2137646365681705729Apple-interchange-newline"><div><div>That&#39;s more o=
r less what we chose to do several years ago but on a<br>smaller scale (onl=
y a handful of built-in spaces supported). As there<br>was no tag for it, w=
e stuffed the information in<br>TIFFTAG_IMAGEDESCRIPTION. I&#39;m not sayin=
g it&#39;s great... but embedding<br>the whole thing into each single image=
 is indeed not great either. I<br>like the idea of a dedicated tag to refer=
ence an OCIO color space.<br></div></div></blockquote></div><div><br></div>=
</span>Yes, indeed, there are already a couple pieces of important metadata=
 that I just shove into the ImageDescription and then parse it on the other=
 end, but generally I only do this for textures, where I know it&#39;s my o=
wn apps that are the only readers that matter.<div><br></div><div>I&#39;ve =
hesitated expanding how much I do that generally, knowing that most tiff re=
aders won&#39;t recognize it, and it&#39;s probably also confusing to apps =
who actually expect a caption or image description to be there. But I suppo=
se that as the percentage grows of readers and writers that exclusively acc=
ess image files through my library (in the VFX field, at least), I can rely=
 on that more. But it&#39;s not nearly as attractive as dedicated tags for =
the most important items. It&#39;s a true weakness of TIFF that it does not=
 allow for arbitrary named metadata.<br><div><br></div><div><div>
<div style=3D"word-wrap:break-word"><div style=3D"color:rgb(0,0,0);font-fam=
ily:Helvetica;font-size:14px;font-style:normal;font-variant-caps:normal;fon=
t-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text=
-transform:none;white-space:normal;word-spacing:0px">--</div><div style=3D"=
color:rgb(0,0,0);font-family:Helvetica;font-size:14px;font-style:normal;fon=
t-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:s=
tart;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0p=
x">Larry Gritz</div><div style=3D"color:rgb(0,0,0);font-family:Helvetica;fo=
nt-size:14px;font-style:normal;font-variant-caps:normal;font-weight:normal;=
letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;=
white-space:normal;word-spacing:0px"><a href=3D"mailto:lg@larrygritz.com" t=
arget=3D"_blank">lg@larrygritz.com</a></div><div style=3D"color:rgb(0,0,0);=
font-family:Helvetica;font-size:14px;font-style:normal;font-variant-caps:no=
rmal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:=
0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br =
class=3D"m_2137646365681705729Apple-interchange-newline"></div><br class=3D=
"m_2137646365681705729Apple-interchange-newline">
</div>
<br></div></div></div><br>______________________________<wbr>______________=
___<br>
Tiff mailing list: <a href=3D"mailto:Tiff@lists.maptools.org">Tiff@lists.ma=
ptools.org</a><br>
<a href=3D"http://lists.maptools.org/mailman/listinfo/tiff" rel=3D"noreferr=
er" target=3D"_blank">http://lists.maptools.org/<wbr>mailman/listinfo/tiff<=
/a><br>
<a href=3D"http://www.remotesensing.org/libtiff/" rel=3D"noreferrer" target=
=3D"_blank">http://www.remotesensing.org/<wbr>libtiff/</a><br></blockquote>=
</div><br></div>

--000000000000c867aa056bf1d625--

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