Return-Path: <tiff-bounces@lists.osgeo.org>
Received: from mailgate210.isp.belgacom.be ([195.238.22.42])
          by mailfep015.skynet.be
          (InterMail vM.8.04.03.28.4 201-2389-100-182-103-20180124)
          with ESMTP
          id <20210506133729.JNZ7430.mailfep015.skynet.be@mailgate210.isp.belgacom.be>
          for <chris.lindelaan@skynet.be>; Thu, 6 May 2021 15:37:29 +0200
Authentication-Results: mx201.skynet.be; dkim=none (message not signed) header.i=none; 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
Received-SPF: None (mx201.skynet.be: no sender authenticity
  information available from domain of
  tiff-bounces@lists.osgeo.org) identity=pra;
  client-ip=140.211.15.3; receiver=mx201.skynet.be;
  envelope-from="tiff-bounces@lists.osgeo.org";
  x-sender="tiff-bounces@lists.osgeo.org";
  x-conformance=sidf_compatible
Received-SPF: Pass (mx201.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=mx201.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 (mx201.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=mx201.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"
X-Ironport-Dmarc-Check-Result: validskip
IronPort-SDR: xe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
 9PClbz+MmJH44iMpI0HBNnSJd7BOndyVHihUDPSEgYBSiamcG/FgEkI2u2T+HPQpJ8nrJPhg
 7IKS6RHTxoyDfwXDQJiBtNIc/IVFns01KWWisIF/y/0tB7KWMBTpYzKTNqWAO7zM3CelrZJY
 F0P27yyfuFxfsXrnkdlbFd9hoHDHUHdCMtMriNWZQgxuExR8XJ6Qz57ywf/Zwiq+nNWCe+sk
 0t8lF5leep0vmSJgR9/Nh/QqSA3ikV0hdj1nWXbbmvqNKnpFYRGQyOmskEwNtX8WAl4aku1h
 0MsPWXARqlNlP1nbm9mj0nbo5Qqe7YURP9BaR4Ug/aMaPgvl1NHtyK8wQlA/+SNAMl+jgIha
 oCq6XVb1A9kKtkuOKvLIOxO1FcYw6uKumXAPg8ZxA4FO11L93iddSlOv1YHZOBOz8+A+u139
 RfEnCBMdW9KUOAl8KoCHqIVP+Wb0zmm1KVMJ0f3MPaQffrxhg==
IronPort-HdrOrdr: A9a23:HtRxxKsbfOgzldVj9n4mAmBA7skDiNV00zEX/kB9WHVpmwKj+f
 xG785rsyMc7wxhKE3I+OrwS5VoLkmsl6Kd37NhT4tKMDOHhILsFvAE0WPNqweQZREW3NQtqJ
 uJSsBFeaLN5bITt7eK3ODAKadd/DDlytHNuQ699QYPcegwUdAb0+4RMG/yeScbeOAFP/sE/b
 Wnl796TlGbCA0qh6qAaUXtE9KzwuEiVfrdEGY775FO0nj0sdr+0tPHLyQ=
X-IronPort-Anti-Spam-Filtered: true
X-MGA-submission: =?us-ascii?q?MDGfDNRg+dOWFodlJmvdA6yZs409bJEYaitO8V?=
 =?us-ascii?q?InP8SL+cTmQ2OCFekRYUbF5/4kH59VmHQROxTRHM9O3wvjrznnWxhc2x?=
 =?us-ascii?q?6BPZp4/AyunQ0/PQzEyO+rZoLvieLgD4UIaxE=3D?=
Received: from osgeo6.osgeo.osuosl.org (HELO lists.osgeo.org) ([140.211.15.3])
  by mx201.skynet.be with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2021 15:25:51 +0200
Received: from osgeo6.osgeo.osuosl.org (localhost [127.0.0.1])
	by lists.osgeo.org (Postfix) with ESMTP id 6EA5E60F7A67;
	Thu,  6 May 2021 06:25:27 -0700 (PDT)
Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net
 [217.70.183.194])
 by lists.osgeo.org (Postfix) with ESMTPS id 1F64461449A1
 for <tiff@lists.osgeo.org>; Thu,  6 May 2021 06:25:24 -0700 (PDT)
X-Originating-IP: 88.165.221.176
Received: from [192.168.0.17] (unknown [88.165.221.176])
 (Authenticated sender: even.rouault@spatialys.com)
 by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 09B354000E;
 Thu,  6 May 2021 13:25:22 +0000 (UTC)
To: David Ryskalczyk <david@rysk.us>
Cc: tiff@lists.osgeo.org
References: <AF31EA79-1879-4776-9F28-4BA0553B96E6@rysk.us>
 <d72f0654-0810-e776-39c0-b55a84ed5b2f@spatialys.com>
 <56C55230-6A5B-4579-8813-B0D71E9EAAA3@rysk.us>
From: Even Rouault <even.rouault@spatialys.com>
Message-ID: <0c0f1cc6-9914-22a9-80d1-d5f8430a640e@spatialys.com>
Date: Thu, 6 May 2021 15:25:22 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.7.1
MIME-Version: 1.0
In-Reply-To: <56C55230-6A5B-4579-8813-B0D71E9EAAA3@rysk.us>
Content-Language: en-US
Subject: Re: [Tiff] Use and implementation of Deflate vs. AdobeDeflate in
 libtiff
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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: tiff-bounces@lists.osgeo.org
Sender: "Tiff" <tiff-bounces@lists.osgeo.org>


> I just did so at https://gitlab.com/libtiff/libtiff/-/merge_requests/245.
Thanks
>
> I added a non-fatal warning in TIFFInitZIP() but it shows when a file is opened, not just when one is written. Is this preferred? I'm not sure how to do the latter.

We should only emit it when creating a new file. I believe it should be 
done around 
https://gitlab.com/libtiff/libtiff/-/blob/master/libtiff/tif_dir.c#L241

-- 

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
