From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: tumme directory Date: Sun, 12 Feb 2006 19:29:54 +0200 Organization: JURTA Message-ID: <87wtg1lbio.fsf@jurta.org> References: <87r76t8afw.fsf@stupidchicken.com> <87zmkzf99z.fsf-monnier+emacs@gnu.org> <874q36ipyz.fsf@jurta.org> <87vevlh7qz.fsf@catnip.gol.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1139767243 12667 80.91.229.2 (12 Feb 2006 18:00:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Feb 2006 18:00:43 +0000 (UTC) Cc: monnier@iro.umontreal.ca, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 12 19:00:42 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F8LWR-0007Mg-K3 for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 19:00:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8LWR-0001A8-1j for ged-emacs-devel@m.gmane.org; Sun, 12 Feb 2006 13:00:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F8LUB-0000Qq-Sf for emacs-devel@gnu.org; Sun, 12 Feb 2006 12:58:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F8LUA-0000PW-F6 for emacs-devel@gnu.org; Sun, 12 Feb 2006 12:58:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F8LU9-0000PD-TW for emacs-devel@gnu.org; Sun, 12 Feb 2006 12:58:09 -0500 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.52) id 1F8LYJ-0000Ym-7s; Sun, 12 Feb 2006 13:02:27 -0500 Original-Received: from mail.neti.ee (80-235-40-69-dsl.mus.estpak.ee [80.235.40.69]) by Relayhost2.neti.ee (Postfix) with ESMTP id 7BD3216BD; Sun, 12 Feb 2006 19:57:58 +0200 (EET) Original-To: Miles Bader In-Reply-To: <87vevlh7qz.fsf@catnip.gol.com> (Miles Bader's message of "Sun, 12 Feb 2006 07:04:52 +0900") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:50413 Archived-At: >> 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/