Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx5.public.one.com ([10.246.18.25])
	by mail6.local.one.com (Dovecot) with LMTP id 4t83NmmUKVmETgAAsyOMew
	for <filtered@awaresystems.be>; Sat, 27 May 2017 15:34:27 +0000
X-HalOne-ID: f7254b05-42f1-11e7-a5f6-b82a72d82f61
Received: from mail-oi0-f48.google.com (unknown [209.85.218.48])
	by mx5.public.one.com (Halon) with ESMTPS
	id f7254b05-42f1-11e7-a5f6-b82a72d82f61;
	Sat, 27 May 2017 15:34:26 +0000 (UTC)
Received: by mail-oi0-f48.google.com with SMTP id w10so42258005oif.0
        for <filtered@awaresystems.be>; Sat, 27 May 2017 08:34:26 -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:subject
         :precedence:list-id:list-unsubscribe:list-archive:list-post
         :list-help:list-subscribe:mime-version:sender:errors-to;
        bh=9nIhH9CmaOV5/4ASEyEPRWMTTYb5+37nDjHquZlOOQs=;
        b=t5ohwFoBTo+3FEbwYro9eOiejPVlbhu4ixnEkWQWfl4HFxD1+JlewGeqp/fZfC2RyA
         dsJPd4u9cK15CuyJNlVGOoEqHSoJgsyHF4sKmQUgLkWMHvCvGpWevMMV1WXCKNjUNI/5
         s7J87HFHOmtZMEktuuPyr4GV823pRdChnh8T0pqFgoGMHXUGvtWwXSANZRki51wsvrG6
         GcPBpnpxoHp4mfXMqRN64/+fDDdbiUrlsImDWUiypDJpSeV/HGoNiBjcYGXvDR+ZkPvG
         1adRQ5iHaCVeRPq+zoxXWud0HXl40c/3yrcFot19finzHNuANdqeBT4LmyU6D1B9LpdB
         f91w==
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=NONE dis=NONE) header.from=gmail.com
X-Gm-Message-State: AODbwcA2gXFFnDGlv6PqIh+cQL10TRyBoCGiGmCPueFw0/tBuumyphUY
	oLFryh8zRdbRNNXZ3rvsJsq1FnC5h/mzlKB/cwcD9w==
X-Received: by 10.157.14.236 with SMTP id 99mr3270682otj.164.1495899265312;
        Sat, 27 May 2017 08:34:25 -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.202.104.144 with SMTP id o16csp689194oik;
        Sat, 27 May 2017 08:34:24 -0700 (PDT)
X-Received: by 10.28.94.82 with SMTP id s79mr15655148wmb.92.1495899264407;
        Sat, 27 May 2017 08:34:24 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1495899264; cv=none;
        d=google.com; s=arc-20160816;
        b=db2N4lAriD/kBpg++jICflR3HJS/aL7z4AfFqXQCkZI2gdL4N1D0EmIWXQx2QKfYBl
         h5Evf2h449c3jLVBO7WxKeD0BxhRR5ZVg3Swnls5ZmqU769NHAyuZDT9E4VHidGypUeQ
         fGwMrI9YFA99oG/GWRG+Q7fLx8wjm7fDZ8AFV2zrKvqRBtgpGgh1+vAxrEclO7w9KUQr
         8dcCHZ17mgPFqBchgVdNrGSBAP6tQdkrKTefUfqORWcwxbVUPxMHIdDHrr9dqfLHBUy8
         boV5WB6Jqkn3UN6/xTZ0/0iWndjJPkfMeDMbBljXnQItP0j31Ti/PafqMw6ON9eg31hi
         Gqsw==
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:to
         :message-id:date:from:references:in-reply-to:mime-version
         :arc-authentication-results;
        bh=9nIhH9CmaOV5/4ASEyEPRWMTTYb5+37nDjHquZlOOQs=;
        b=zytl9oHAPwVDyoOF5ieyuQfLdireNLfzxxILag+whUzMYeMqIHwFAyjc6f9382vvq5
         k6oR5lbL+bxkRPqYa3VVycanXeSGUGr+EQv1gxtz1AhDJsOAoqYAzfN9DpQ6WYyLKfSS
         kJRE/VAAIWa/BjnR/doUSvrIPrgDoCkjqVHpkm7Mi7GHJ4MdA7RVjaWnTVi5s6n96yrQ
         J1ueqiLW/mP2iTL5zyrFVYd3dtVCp6WMNOl5iDChvSWoUzjTzdwK5VvBZpY8i5BW9X9i
         EtXKAvLl4LSHzvp92syOvniaCYCCIFrjsGySCAYfHQX2zhwjbg35XIUQpESgS61AqSOk
         8nng==
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=NONE 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 i141si5966345wmf.141.2017.05.27.08.34.23;
        Sat, 27 May 2017 08:34:24 -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=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 C5F8B35C026;
	Sat, 27 May 2017 10:32:43 -0500 (EST)
Received: from mail-qt0-f169.google.com (mail-qt0-f169.google.com
	[209.85.216.169])
	by lists.maptools.org (Postfix) with ESMTPS id 1878735C023
	for <tiff@lists.maptools.org>; Sat, 27 May 2017 10:03:01 -0500 (EST)
Received: by mail-qt0-f169.google.com with SMTP id f55so26891454qta.3
	for <tiff@lists.maptools.org>; Sat, 27 May 2017 08:03:01 -0700 (PDT)
X-Received: by 10.200.36.108 with SMTP id d41mr8729596qtd.42.1495897380761;
	Sat, 27 May 2017 08:03:00 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.38.42 with HTTP; Sat, 27 May 2017 08:03:00 -0700 (PDT)
In-Reply-To: <CAK8GPyAMa441+_SyZHaPgQZ7eTpSCX3aiW1A2xRi10EpbBYZUw@mail.gmail.com>
References: <CAK8GPyAMa441+_SyZHaPgQZ7eTpSCX3aiW1A2xRi10EpbBYZUw@mail.gmail.com>
From: Aaron Boxer <boxerab@gmail.com>
Date: Sat, 27 May 2017 11:03:00 -0400
Message-ID: <CAK8GPyDAiQG5upqAA5SkjL1hT-TBTZiwmbAAqPB8HXMWXycMNg@mail.gmail.com>
To: TIFF mailing list <tiff@lists.maptools.org>
Subject: Re: [Tiff] Unassociated alpha channel
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="===============1437219758=="
Mime-version: 1.0
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

--===============1437219758==
Content-Type: multipart/alternative; boundary="001a113abdbc0033d1055082c06c"

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

Note: Perhaps the problem is with my image viewer, which can't handle the
opacity in the TIFF file ?

On Sat, May 27, 2017 at 11:01 AM, Aaron Boxer <boxerab@gmail.com> wrote:

> Hi Folks,
>
> I have a JPEG 2000 image with unassociated alpha channel.
>
> When I decompress to TIFF using my JP2 library, I set the
> EXTRASAMPLE_UNASSALPHA flag for this channel. The resulting image is a
> black M with black background.
>
> If I force the tag to EXTRASAMPLE_ASSOCALPHA, I get a white background.
>
> I've attached the three files. The file with unassociated alpha looks odd
> to me. So, I wanted to verify that libtiff handles unassociated alpha
> channels without any knows problems.
>
> Thanks!
>
> Aaron
>
>

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

<div dir=3D"ltr">Note: Perhaps the problem is with my image viewer, which c=
an&#39;t handle the opacity in the TIFF file ?<br></div><div class=3D"gmail=
_extra"><br><div class=3D"gmail_quote">On Sat, May 27, 2017 at 11:01 AM, Aa=
ron 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 class=3D=
"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding=
-left:1ex"><div dir=3D"ltr"><div><div><div><div><div><div><div>Hi Folks,<br=
><br></div>I have a JPEG 2000 image with unassociated alpha channel. <br><b=
r>When I decompress to TIFF using my JP2 library, I set the EXTRASAMPLE_UNA=
SSALPHA flag for this channel. The resulting image is a black M with black =
background. <br></div></div><br>If I force the tag to EXTRASAMPLE_ASSOCALPH=
A, I get a white background.<br><br></div>I&#39;ve attached the three files=
. The file with unassociated alpha looks odd to me. So, I wanted to verify =
that libtiff handles unassociated alpha channels without any knows problems=
.<br></div><br></div>Thanks!<span class=3D"HOEnZb"><font color=3D"#888888">=
<br><br></font></span></div><span class=3D"HOEnZb"><font color=3D"#888888">=
Aaron<br><div><div><div><div><br></div></div></div></div></font></span></di=
v>
</blockquote></div><br></div>

--001a113abdbc0033d1055082c06c--

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