unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	Angelo Graziosi <angelo.g0@libero.it>
Cc: emacs-devel@gnu.org
Subject: Re: Zipped image file
Date: Sat, 7 Sep 2019 10:15:29 -0700	[thread overview]
Message-ID: <745e3ac2-b952-b74d-4822-b1a9a035cd54@cs.ucla.edu> (raw)
In-Reply-To: <jwv4l1okwh6.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

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.)

[-- Attachment #2: s.png.bz2 --]
[-- Type: application/x-bzip, Size: 297 bytes --]

      reply	other threads:[~2019-09-07 17:15 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06 21:04 Zipped image file Angelo Graziosi
2019-09-06 21:24 ` Paul Eggert
2019-09-06 22:59   ` Angelo Graziosi
2019-09-07 10:21   ` Eli Zaretskii
2019-09-07 10:39     ` Paul Eggert
2019-09-07 11:05       ` Eli Zaretskii
2019-09-07 12:03         ` Paul Eggert
2019-09-07 12:14           ` Eli Zaretskii
2019-09-07 12:34             ` Eli Zaretskii
2019-09-07 11:49     ` Angelo Graziosi
2019-09-07 14:36 ` Stefan Monnier
2019-09-07 17:15   ` Paul Eggert [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=745e3ac2-b952-b74d-4822-b1a9a035cd54@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=angelo.g0@libero.it \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).