unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: monnier@iro.umontreal.ca, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: tumme directory
Date: Sun, 12 Feb 2006 19:29:54 +0200	[thread overview]
Message-ID: <87wtg1lbio.fsf@jurta.org> (raw)
In-Reply-To: <87vevlh7qz.fsf@catnip.gol.com> (Miles Bader's message of "Sun, 12 Feb 2006 07:04:52 +0900")

>> I could send you command examples that produce impressive results.
>> The thumbnail PNG file sizes are much smaller than generated by other
>> programs, but still are readable by them.
>
> Er, can you at least give a hint what you used...?

The first program in the sequence I used was `convert':

  convert -size 128x128 image.jpg -thumbnail 128x128 ~/.thumbnails/normal/md5.png

The second was `pngnq'.  It optimizes PNG images using the neural net based
color quantization algorithm.  It can quantize images down to 256 colors
with much better results than other color optimization algorithms.
So, for instance, it can reduce a thumbnail PNG file generated by
`convert' with the size 18995 down to 8280 bytes almost without affecting
the quality of the original image.

The third program was `pngcrush'.  It optimizes the compression trying
various compression levels and selecting the best one.  It reduces the
size of the sample file mentioned above further down to 6877 bytes.

`pngcrush' also can add PNG textual chunks with the information
necessary for other GNU programs that support the Thumbnail Managing Standard
to use them.

All programs are available as Debian packages (imagemagick.deb, pngnq.deb,
pngcrush.deb).

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2006-02-12 17:29 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-28  0:26 tumme directory Chong Yidong
2006-01-29 10:46 ` David Kastrup
2006-01-29 14:10   ` Mathias Dahl
2006-01-30  0:57   ` Richard M. Stallman
2006-01-30  0:57 ` Richard M. Stallman
2006-01-30 21:51   ` Mathias Dahl
2006-01-31 18:06     ` Richard M. Stallman
2006-02-01 10:33       ` Mathias Dahl
2006-02-09 23:26       ` Mattis
2006-02-10  7:34         ` Nick Roberts
2006-02-10 10:21           ` Mathias Dahl
2006-02-10 16:53         ` Stefan Monnier
2006-02-11  0:04           ` Mattis
2006-02-11  1:23             ` Juri Linkov
2006-02-11  9:39               ` Mathias Dahl
2006-02-12 17:45                 ` Juri Linkov
2006-02-12 23:52                   ` Mathias Dahl
2006-02-11 22:04               ` Miles Bader
2006-02-12 17:29                 ` Juri Linkov [this message]
2006-02-12 23:26                   ` Mathias Dahl

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=87wtg1lbio.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@gnu.org \
    /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).