From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/61236 Path: news.gmane.org!not-for-mail From: Didier Verna Newsgroups: gmane.emacs.gnus.general Subject: face quantization (was: Image formats for gnus-(x-)face-from-file) Date: Thu, 27 Oct 2005 16:21:46 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1130423319 11799 80.91.229.2 (27 Oct 2005 14:28:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2005 14:28:39 +0000 (UTC) Original-X-From: ding-owner+m9766@lists.math.uh.edu Thu Oct 27 16:28:37 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EV8hV-0005tP-BP for ding-account@gmane.org; Thu, 27 Oct 2005 16:25:53 +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 1EV8hK-0006Vj-00; Thu, 27 Oct 2005 09:25:42 -0500 Original-Received: from nas01.math.uh.edu ([129.7.128.39]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1EV8dl-0006Vb-00 for ding@lists.math.uh.edu; Thu, 27 Oct 2005 09:22:01 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas01.math.uh.edu with esmtp (Exim 4.52) id 1EV8di-0002k2-La for ding@lists.math.uh.edu; Thu, 27 Oct 2005 09:22:01 -0500 Original-Received: from smtp.lrde.epita.fr ([163.5.254.26] helo=kualalumpur.lrde.epita.fr) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EV8dX-00021W-00 for ; Thu, 27 Oct 2005 16:21:47 +0200 Original-Received: from uzeb.lrde.epita.fr ([192.168.101.53]) by kualalumpur.lrde.epita.fr with esmtp (Exim 4.50) id 1EV8dW-0000bZ-KX for ding@gnus.org; Thu, 27 Oct 2005 16:21:46 +0200 Original-Received: by uzeb.lrde.epita.fr (Postfix, from userid 17030) id 83F405E2C0; Thu, 27 Oct 2005 16:21:46 +0200 (CEST) Original-To: ding@gnus.org In-Reply-To: (Reiner Steib's message of "Fri, 14 Oct 2005 18:51:15 +0200") X-Attribution: dvl X-Url: http://www.lrde.epita.fr/~didier X-Web: http://www.lrde.epita.fr/~didier X-Home-Page: http://www.lrde.epita.fr/~didier Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEVGPjenpqTCraKXdWMI 3Qy8AAAACXBIWXMAAAsSAAALEgHS3X78AAABpUlEQVQozzWRsWrjQBCGJ0jpBJFAV947GJQyIIms 6kjgsVCQULUOe1UgV153j3CsQO7PhV/hAjYkpcFPkFdIBCoOLoK52bWtZvfj+3dmdgX4Fs7nWeAm LgA0iJiFQrg+uNA0xTwMsiAE4QKLL4ihSATHsCzRuDQxYD5RiPAySS1kRZEKP3CPhuv59kzF+8bk IAGUEvF7K4IkvwCJDADp6+UFgF4t9Jzjd4mfQqe0zBkcn82m69EAZNxHrivMZ4aM6buuPvA+zPnM pscfNO3A2QN8+y3xQOMO4FpwNfVwIGLw2Sj9QBbcANZrbGlrIARYqa6diAYwuU7J7c6hCSAIYLnG n+PRAPS9/DXEJ1BKPz1ffTK4d7CSVTtwac/MpnpsuNpEJrZB/MNNh9gAqgXRO40j3w+W+n7LZpqM 6WRH9I+iGwPLJeZEH5E1qDGPP2mwXSuFdfw+7e0Elcbas/cxsR6fRnoBSwtd1lzZOcYk5tEw844x xJYfKjrDLS83ZzBPfbBQYMl/xNmfzV9exjM0/NDDCcoaPGd2gq+P4MUnyHAPTmSn+Q/DEsE74yH6 GQAAACZ6VFh0Q29tbWVudAAAeNpzLkpNLElNUSjPLMlQCMlIVXD39A0AAFLnByOQy2VwAAAAGnpU WHRKUEVHLUNvbG9yc3BhY2UAAHjaMwIAADMAMxEWfmMAAAAnelRYdEpQRUctU2FtcGxpbmctZmFj dG9ycwAAeNozqjDSMawwBGEAEYMC6WQPG2IAAAAASUVORK5CYII= X-Face: 9(xNRWK.*)B)r&k3 Reiner Steib wrote: > On Fri, Oct 14 2005, James Cloos wrote: > >> I don't know how relevant it is for face headers, but I just noticed >> that convert -resize 48x48 does not guarantee a 48x48 bit image, but >> instead maintains the original's aspect ratio and sets the resulting >> image's largest dimension to 48 pixels. My test image came out as a >> 36x48 pixel xbm or png. > > So we should use "convert -scale 48x48!" instead of "convert -resize > 48x48"? Thanks for the hint. 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 s= ame size (in the header I mean). Has the quantization algorithm been modified recently ? --=20 Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier EPITA / LRDE, 14-16 rue Voltaire Tel.+33 (1) 44 08 01 85 94276 Le Kremlin-Bic=EAtre, France Fax.+33 (1) 53 14 59 22 didier@xemac= s.org