Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx3.pub.mailpod2-cph3.one.com ([10.27.25.13])
	by mailstorage18.cst.mailpod2-cph3.one.com (Dovecot) with LMTP id 6C8VGOqS+VoXRgEAQS8vrQ
	for <filtered@awaresystems.be>; Mon, 14 May 2018 13:47:07 +0000
X-HalOne-ID: 497ed7cd-577d-11e8-8713-e0d84895d241
Received: from mail-oi0-f47.google.com (unknown [209.85.218.47])
	by mx3.pub.mailpod2-cph3.one.com (Halon) with ESMTPS
	id 497ed7cd-577d-11e8-8713-e0d84895d241;
	Mon, 14 May 2018 13:47:05 +0000 (UTC)
Received: by mail-oi0-f47.google.com with SMTP id e80-v6so10682795oig.11
        for <filtered@awaresystems.be>; Mon, 14 May 2018 06:47:05 -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
         :date:from:to:in-reply-to:message-id:references:user-agent
         :mime-version:cc:subject:precedence:list-id:list-unsubscribe
         :list-archive:list-post:list-help:list-subscribe
         :content-transfer-encoding:sender:errors-to;
        bh=F2j9Xrj+iB+giMSYiFVzlMwk4HFtMZES6L59C7WrNUc=;
        b=UDy6rIdnQ3r62nHToQaVpyIcBcv8PzuKNmc0sdeWmMnsjYt45f+csJMmugJP9tWh0E
         bDOC5Tj6LpW7QyP4bYXBQsFo/fAr1+/1rgIzZhPyapdEYwa7QQgF+ikIJBB9oLJp9ykU
         lv9AsQz0s/vHqI++C+edYNgsgvDy25BOlN4K4ipFKx9Ay8dXZdvO4WqX8FTQ7EpY3fTT
         PjsQmjn/8CjrM3nSZV+/7wRwZfW0FB0rKFG2WbLwArOiVb/GPDrbRLEGRyDaymrtEFRa
         qgJuTIxwUbZBW3se353ad8hNQZepn5XmLd7MWz+gdoYVJZemvBMLz+Vk5/50aFRKpcHd
         T1qA==
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: ALKqPwdau1UL8m7h6iupW7dVAwzvD7NechUi8IbThOiv++i+xwkfRWZN
	V0VeCktY+95VvauYzGVpPGlG3xTdRPH+iMLp4JLVZ/7ZTzC5sY4=
X-Received: by 2002:aca:59c1:: with SMTP id n184-v6mr6909100oib.158.1526305624614;
        Mon, 14 May 2018 06:47:04 -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-v6csp4486017ooc;
        Mon, 14 May 2018 06:47:02 -0700 (PDT)
X-Google-Smtp-Source: AB8JxZrtfu7FZbQ2JnRvJBT7gfJzgyzh0tLgA3AugJ8QwnlBACVt4al8rKN7TFRHuvol6pAoGBPA
X-Received: by 2002:a1c:d53:: with SMTP id 80-v6mr5688048wmn.138.1526305622469;
        Mon, 14 May 2018 06:47:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1526305622; cv=none;
        d=google.com; s=arc-20160816;
        b=zzQQgKTAiPSLcbq5Ho595sFNI1ClpQ4TpNzTYYNUUkM0lmN6C5J89rLi4i9XuCs4EN
         JS1JZB4zWCCjlgizlqc8KsDzzeEC6tG7dgwgghUUylH7IahO5IXBAFnGZZmgg5Vbp+nf
         yjoof6asV3DHgCKkxp4plJSbOwwZQUoCVrGFga3C6gJ81X1lK97azEQHqJ23QkL9qzdM
         yNbHSgIUD/4jE6N/uvDelh+XlWSXc+MuzzbQJ/wST5y/4N6ZGSCtVrx94GbEgotUn9IA
         RKDuG6BYWx1CmGvWQqh90pnwZ0xuc4sFJcSVYyEf4Pdmc2sY77RdWC594qEZX2SJCE5D
         iluA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help
         :list-post:list-archive:list-unsubscribe:list-id:precedence:subject
         :cc:mime-version:user-agent:references:message-id:in-reply-to:to
         :from:date:arc-authentication-results;
        bh=F2j9Xrj+iB+giMSYiFVzlMwk4HFtMZES6L59C7WrNUc=;
        b=VtKtNjoQ9qqnSWSxv7tsy1NS2TxwO/Y+bJzpdHTqgUbwG5NJ7iefW30d5Aq+9Eb83Y
         elIlTNdWMG0UL0muASQMIkW3FEXne9SqrrPaJfmoiUv74qjqZoIRNw0cSUOOAZt1RQNt
         txX+wKUTbBak9koVi1NRF8EnVnyOBbg9ImItTKxMq77M/p92hQOGBmWoO12A4x0uJowe
         G0yG8Ri2Ni+8QJq7LT0PRZr5SGvkj6zjTMKjZoiqcVVkhsO7SK3+jlbqghV/4uSoLcu/
         WSKeP3+LP5aVn0qy3xX3XWy/RD6wTNy3U99QBa5f02Zn5vxBt1ySzmQHPBS9/oOS29zI
         vZaQ==
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 b70-v6si5370643wma.95.2018.05.14.06.47.01;
        Mon, 14 May 2018 06:47:02 -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 D9CA135C037;
	Mon, 14 May 2018 08:46:03 -0500 (EST)
Received: from smtp.simplesystems.org (smtp.simplesystems.org [65.66.246.90])
	by lists.maptools.org (Postfix) with ESMTPS id CAF8435C035
	for <tiff@lists.maptools.org>; Mon, 14 May 2018 08:20:49 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by smtp.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	w4EDKdLM018861; Mon, 14 May 2018 08:20:39 -0500 (CDT)
Date: Mon, 14 May 2018 08:20:39 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: fx HAYAKAWA MICHIO <michio.hayakawa@fujixerox.co.jp>
In-Reply-To: <TY1PR06MB099056061D025FCA2559CFF9AE9C0@TY1PR06MB0990.apcprd06.prod.outlook.com>
Message-ID: <alpine.GSO.2.20.1805140811270.25280@freddy.simplesystems.org>
References: <TY1PR06MB0990FC946AE5DB7A40519001AE9F0@TY1PR06MB0990.apcprd06.prod.outlook.com>
	<alpine.GSO.2.20.1805110746100.25280@freddy.simplesystems.org>
	<e5cd761c-c927-3c7b-27e5-4799d4f8cbfe@codelibre.net>
	<TY1PR06MB099056061D025FCA2559CFF9AE9C0@TY1PR06MB0990.apcprd06.prod.outlook.com>
User-Agent: Alpine 2.20 (GSO 67 2015-01-07)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
	(smtp.simplesystems.org [65.66.246.90]);
	Mon, 14 May 2018 08:20:39 -0500 (CDT)
Cc: "tiff@lists.maptools.org" <tiff@lists.maptools.org>
Subject: Re: [Tiff] LZ4 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: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Mon, 14 May 2018, fx HAYAKAWA MICHIO wrote:

>
>> One other alternative is use of filesystem-level compression.
>
> This is a good experiment.
> It shows LZ4 doesn't have good compression ratio comparted to gzip or other compression method for archiving.
> LZ4 is focused on encoding and decoding speed. That's why LZ4 is adapted on ZFS file system. The better compression method for TIFF should have good balancing between decoding performance and transferring performance, which equals to compression ratio. Because TIFF is always decoded and viewed on viewer applications.

While LZ4 file compression performance in zfs is interesting, it is 
not very indicative of how well it would do on raster data as 
implemented in libtiff.  The reason why it is not very very indicative 
is that the filesystem is a general-purpose mechanism without any 
knowlege of the content (e.g. TIFF strips/tiles) and with an 
underlying block size not related to the image data.

It is easy to implement LZ4 inside the operating system kernel space 
but ZStd is likely too complex to port into such an environment. 
Regardless, ZStd compresses much faster than gzip while achieving a 
better compression ratio on raster data.

> Anyway, it looks like Adobe is the key person. If Adobe implements 
> LZ4 compression on Photoshop, LZ4 TIFF will become a common format.

Adobe is no longer pushing or promoting TIFF and it is unlikely to 
implement any more extensions to TIFF.   It is not clear to me that 
Adobe's Photoshop is as dominant as it used to be.

> BTW, TIFF is still common in the printing industry since TIFF 
> supports CMYK images that can represent printing device output. 
> That's why I'm seeking LZ4 TIFF option.

Adobe promotes PDF for such applications.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
