From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: Zipped image file Date: Sat, 7 Sep 2019 10:15:29 -0700 Organization: UCLA Computer Science Department Message-ID: <745e3ac2-b952-b74d-4822-b1a9a035cd54@cs.ucla.edu> References: <1913771961.469535.1567803872076@mail1.libero.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------9F3DB26AFB37A9C9774CCF22" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="55926"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 Cc: emacs-devel@gnu.org To: Stefan Monnier , Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 07 19:15:48 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i6eJP-000ERH-Jt for ged-emacs-devel@m.gmane.org; Sat, 07 Sep 2019 19:15:47 +0200 Original-Received: from localhost ([::1]:36344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6eJO-0002z0-GQ for ged-emacs-devel@m.gmane.org; Sat, 07 Sep 2019 13:15:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33752) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i6eJG-0002yp-6P for emacs-devel@gnu.org; Sat, 07 Sep 2019 13:15:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i6eJE-0006uT-Tz for emacs-devel@gnu.org; Sat, 07 Sep 2019 13:15:37 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:33386) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i6eJE-0006sC-NQ for emacs-devel@gnu.org; Sat, 07 Sep 2019 13:15:36 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 13B5E160203; Sat, 7 Sep 2019 10:15:35 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 2RAf5DoG1pVK; Sat, 7 Sep 2019 10:15:34 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4DEBE160211; Sat, 7 Sep 2019 10:15:34 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id KTfsMjtSFeTH; Sat, 7 Sep 2019 10:15:34 -0700 (PDT) Original-Received: from [192.168.1.9] (cpe-23-242-74-103.socal.res.rr.com [23.242.74.103]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E3132160203; Sat, 7 Sep 2019 10:15:33 -0700 (PDT) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:239930 Archived-At: This is a multi-part message in MIME format. --------------9F3DB26AFB37A9C9774CCF22 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 9/7/19 7:36 AM, Stefan Monnier wrote: > is there > a good reason to bzip-compress a .png file? Although typically bzip2 doesn't compress .png files well, there are counterexamples such as the attached contrived file which has an 878:1 compression ratio. PS. Watch out, it's a torture-test image. If you uncompress it and view it, older versions of Emacs will crash and newer versions show only a placeholder box, ImagickMagick's "display" program dumps core, Firefox displays it only at lower resolution while chewing up CPU, etc.) --------------9F3DB26AFB37A9C9774CCF22 Content-Type: application/x-bzip; name="s.png.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="s.png.bz2" QlpoOTFBWSZTWWDSH+MACQ////5T4hhAAABqd+FWAeAiAkHaIUAAAimCACBAAPBALRUtsAD4 A4yZNNMJkZAwIxNGCMINGmAAQ4yZNNMJkZAwIxNGCMINGmAAQRUUaT0mIA0xA0AGjExAMgYI zUgBpkAjVWouighCCEFU2ILTnCwoRUhBEHlpxQWrAXBAB9IILrgSb0uGRWxgAjVAtrhM1bgs dEvABcAsrOorxWVrz+5bYEFTUnAcwG7lvei++RbVQD4u3fCP2BGOXXr3sHx4gVL64KwilwAB W+soE8DyWQABFN/SB51QNjEs0vt/LJi7YgYs+daSzZM2Wf0xsY6RsrotLECVdTLMtSXToorn zrJjgAvGAArSA/tE0y5gP8XckU4UJBg0h/jA --------------9F3DB26AFB37A9C9774CCF22--