Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: <filtered@awaresystems.be>
Received: from mx6.public.one.com ([10.246.18.26])
	by mail6.local.one.com (Dovecot) with LMTP id e7yBA7CeBVgBgAEAsyOMew
	for <filtered@awaresystems.be>; Tue, 18 Oct 2016 04:03:16 +0000
X-HalOne-ID: cbf7773d-94e7-11e6-876e-b82a72d854f0
Received: from mail-qk0-f179.google.com (unknown [209.85.220.179])
	by mx6.public.one.com (Halon Mail Gateway) with ESMTPS
	for <filtered@awaresystems.be>; Tue, 18 Oct 2016 04:03:15 +0000 (UTC)
Received: by mail-qk0-f179.google.com with SMTP id n189so269127868qke.0
        for <filtered@awaresystems.be>; Mon, 17 Oct 2016 21:03:15 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-original-authentication-results:x-gm-message-state:delivered-to
         :mime-version:in-reply-to:references:from:date:message-id:to:subject
         :precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:mime-version:sender:errors-to;
        bh=Tn/2jaXLvyT3I/ouezqqcnJwjFQv4j7w+HwUR+84TKI=;
        b=MjuIs47kU9REvwgwuf/TDZ8Lr0ENvwXun29SfQlQYfCk0U7NWSYu9/kRhLcR37+8fU
         QOE/R+JQ1KP4mrrN/vOyQHXwzlL4VAGhd9zN93OhnuSrRdSobRV5O38I8imnFqgdb5hW
         +NYa9GewE4t9L3zZiAb79oOhPpBiJ2PgT5gnRU/tIxw7UXmQoHwwPRrXRVwtFQoTZ/kL
         4z4wJd93VgtNxC4/osLd+NcJ8X8rP+8693ik9PU0DtnNiKaIvAKcnNpreOiCvmvHQ++c
         8ttmzvn3A2PiglRUn9t+NxZ+0/98kIwldEPF8pAG9LqoeGQ98s93Gvy+aa8Vnz7n17GL
         z2DQ==
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 dis=NONE) header.from=gmail.com
X-Gm-Message-State: AA6/9Rno3xctK2oAmAPwDdZ5XlSEynKeqsIjUnIGrlijfi/WaPKCKyM+/1YpxDDmXxg3l6ctSVF2NRJ4zY0yjFYKzuoSKLE=
X-Received: by 10.55.55.205 with SMTP id e196mr638354qka.45.1476763394688;
        Mon, 17 Oct 2016 21:03:14 -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 10.55.31.159 with SMTP id n31csp830732qkh;
        Mon, 17 Oct 2016 21:03:13 -0700 (PDT)
X-Received: by 10.28.207.198 with SMTP id f189mr10439233wmg.18.1476763393775;
        Mon, 17 Oct 2016 21:03:13 -0700 (PDT)
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 ze1si46049273wjb.20.2016.10.17.21.03.13;
        Mon, 17 Oct 2016 21:03:13 -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 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 6771B35C02A;
	Mon, 17 Oct 2016 23:02:26 -0500 (EST)
Received: from mail-qk0-f177.google.com (mail-qk0-f177.google.com
	[209.85.220.177])
	by lists.maptools.org (Postfix) with ESMTPS id 2363935C028
	for <tiff@lists.maptools.org>; Mon, 17 Oct 2016 22:59:12 -0500 (EST)
Received: by mail-qk0-f177.google.com with SMTP id o68so314983020qkf.3
	for <tiff@lists.maptools.org>; Mon, 17 Oct 2016 20:59:11 -0700 (PDT)
X-Received: by 10.55.89.197 with SMTP id n188mr602749qkb.306.1476763150960;
	Mon, 17 Oct 2016 20:59:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.17.14 with HTTP; Mon, 17 Oct 2016 20:59:10 -0700 (PDT)
In-Reply-To: <CAK8GPyBNLiHE95vwN+iGuZVgLmZcVh9dq_bSRN9eRecoQ+Lr8g@mail.gmail.com>
References: <CAK8GPyBNLiHE95vwN+iGuZVgLmZcVh9dq_bSRN9eRecoQ+Lr8g@mail.gmail.com>
From: Aaron Boxer <boxerab@gmail.com>
Date: Mon, 17 Oct 2016 23:59:10 -0400
Message-ID: <CAK8GPyCBO6rsaC7pE6-ebukPkHex_B3mjao=8wDe0gKr4sfZfQ@mail.gmail.com>
To: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] Creating TIFF file with zip compression
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="===============0501786866=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============0501786866==
Content-Type: multipart/alternative; boundary=001a114c983e07cda8053f1bb71a

--001a114c983e07cda8053f1bb71a
Content-Type: text/plain; charset=UTF-8

Sorry, my bad. Working correctly :)

On Mon, Oct 17, 2016 at 11:23 PM, Aaron Boxer <boxerab@gmail.com> wrote:

> Hello,
> I have added zip support to my libtiff build.
>
> When creating a TIFF image, I add the following line:
>
>     TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_ADOBE_DEFLATE);  //
> zip compression
>
> but the image is not compressed using zip compression.
>
> If, on the other hand, I set compression to PackBits, then it does work.
>
> Any thoughts on why I am unable to create with zip ?
>
> These are 8 bit RGB images.
>
> Thanks,
> Aaron
>

--001a114c983e07cda8053f1bb71a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Sorry, my bad. Working correctly :)<br></div><div class=3D=
"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Oct 17, 2016 at 11:23 =
PM, Aaron Boxer <span dir=3D"ltr">&lt;<a href=3D"mailto:boxerab@gmail.com" =
target=3D"_blank">boxerab@gmail.com</a>&gt;</span> wrote:<br><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"><div dir=3D"ltr"><div><div><div><div><div><div><div><div>H=
ello,<br></div>I have added zip support to my libtiff build.<br><br></div>W=
hen creating a TIFF image, I add the following line:<br><br>=C2=A0=C2=A0=C2=
=A0 TIFFSetField(tif, TIFFTAG_COMPRESSION, COMPRESSION_ADOBE_DEFLATE);=C2=
=A0 // zip compression<br><br></div>but the image is not compressed using z=
ip compression.<br><br></div>If, on the other hand, I set compression to Pa=
ckBits, then it does work.<br><br></div>Any thoughts on why I am unable to =
create with zip ?<br><br></div>These are 8 bit RGB images.<br><br></div>Tha=
nks,<br></div>Aaron<br></div>
</blockquote></div><br></div>

--001a114c983e07cda8053f1bb71a--

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