From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61237 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: face quantization Date: Thu, 27 Oct 2005 17:11:52 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130426735 24980 80.91.229.2 (27 Oct 2005 15:25:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2005 15:25:35 +0000 (UTC) Original-X-From: ding-owner+m9767@lists.math.uh.edu Thu Oct 27 17:25:33 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EV9ZS-0000TA-Mf for ding-account@gmane.org; Thu, 27 Oct 2005 17:21:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1EV9ZN-0006dj-00; Thu, 27 Oct 2005 10:21:33 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EV9YG-0006de-00 for ding@lists.math.uh.edu; Thu, 27 Oct 2005 10:20:24 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1EV9YA-0001B3-GH for ding@lists.math.uh.edu; Thu, 27 Oct 2005 10:20:23 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EV9Y8-0002l1-00 for ; Thu, 27 Oct 2005 17:20:16 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EV9Uk-00071v-LJ for ding@gnus.org; Thu, 27 Oct 2005 17:16:47 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Oct 2005 17:16:46 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 27 Oct 2005 17:16:46 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: .*T0'iU(sujq_j9\J>-d4fg;N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:FNZ+q3EevRTtSoxtxWlj9Fa6/KY= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:61237 Archived-At: On Thu, Oct 27 2005, Didier Verna wrote: > I don't know why, but recent modifications on the face code > broke my faces. They seem to have much less colors than before, > while being of the same size (in the header I mean). Has the > quantization algorithm been modified recently ? The algorithm in `gnus-face-from-file' itself hasn't changed. But the default of `gnus-convert-image-to-face-command' is "convert -scale 48x48! %s -colors %d png:-" instead of "djpeg %s | ppmnorm | pnmscale -width 48 -height 48 | ppmquant %d | pnmtopng". It's quite possible that the convert differs from the later. Could you investigate? My intention was to allow more input formats (for both, X-Face and Face [1]). But if convert is not doing a good job, we could change the default back to use djpeg and the netpbm tools. Bye, Reiner. [1] Cf. your comment in `gnus.texi': | 6.528 (didier 18-Jun-03): | @c #### FIXME: faces and x-faces'implementations should really be harmonized. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/