From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41736 Path: main.gmane.org!not-for-mail From: palmieri@math.washington.edu (John H. Palmieri) Newsgroups: gmane.emacs.gnus.general Subject: Re: X-Face and depth Date: Mon, 07 Jan 2002 13:58:05 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: References: <15411.9669.562599.141358@www.ee.ryerson.ca> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035177088 7729 80.91.224.250 (21 Oct 2002 05:11:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:11:28 +0000 (UTC) Return-Path: Original-Received: (qmail 28450 invoked from network); 7 Jan 2002 22:01:21 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 7 Jan 2002 22:01:21 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16Nhmr-00013p-00; Mon, 07 Jan 2002 15:58:33 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 07 Jan 2002 15:58:21 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id PAA06775 for ; Mon, 7 Jan 2002 15:58:08 -0600 (CST) Original-Received: (qmail 28340 invoked by alias); 7 Jan 2002 21:58:07 -0000 Original-Received: (qmail 28335 invoked from network); 7 Jan 2002 21:58:07 -0000 Original-Received: from euler.math.washington.edu (128.95.224.1) by gnus.org with SMTP; 7 Jan 2002 21:58:07 -0000 Original-Received: from goedel3.math.washington.edu (goedel3.math.washington.edu [128.95.224.12]) by euler.math.washington.edu (8.11.6/8.11.6) with ESMTP id g07Lw6K10940; Mon, 7 Jan 2002 13:58:06 -0800 (PST) Original-Received: (from palmieri@localhost) by goedel3.math.washington.edu (8.11.6/8.11.6) id g07Lw5e206312; Mon, 7 Jan 2002 13:58:05 -0800 (PST) X-Authentication-Warning: goedel3.math.washington.edu: palmieri set sender to palmieri@math.washington.edu using -f Original-To: ding@gnus.org X-Face: ,;upNQ$t/)!L]^R9Po%swv4 (Lars Magne Ingebrigtsen's message of "Sat, 05 Jan 2002 05:34:48 +0100") Original-Lines: 44 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1 (alphaev5-dec-osf5.0) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41736 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41736 --=-=-= Lars Magne Ingebrigtsen writes: > Zlatko Calusic writes: > >> Now, how do you make multilevel faces, that is my question? > > `gnus-convert-image-to-gray-x-face'. This doesn't work for me: I get output like X-Face:compface: (warning) : excess data ignored compface: (warning) : excess data ignored X-Face-1:compface: (warning) : excess data ignored compface: (warning) : excess data ignored X-Face-2:compface: (warning) : excess data ignored compface: (warning) : excess data ignored If I change this: (shell-command-on-region (point-min) (point-max) "pbmtoxbm | compface" (current-buffer) t) to this: (shell-command-on-region (point-min) (point-max) "pbmtoxbm | xbmtoikon | compface" (current-buffer) t) it works. I found xbmtoikon here: I'm attaching xbmtoikon. Perhaps someone could just translate it to lisp... -- J. H. Palmieri Dept of Mathematics, Box 354350 mailto:palmieri@math.washington.edu University of Washington http://www.math.washington.edu/~palmieri/ Seattle, WA 98195-4350 --=-=-= Content-Disposition: attachment; filename=xbmtoikon Content-Description: xbmtoikon (a shell script) #!/bin/sh - PATH=$PATH:/l/picons/bits:/l/netpbm/bin # xbmtoikon - convert an XBM bitmap to a Blit ikon bitmap # Steve Kinzler, kinzler@cs.indiana.edu, Mar 91/Jan 95 # NOTE: This program has only been tested with 48x48 and 64x64 XBM inputs. case "$1" in -h) echo "usage: $0 [ file ]" 1>&2; exit 1;; esac xbmtopbm ${1+"$@"} | pbmtoicon | sed '/^[ ]*[*\/]/d; s/[ ]//g; s/,$//' | tr , '\012' | sed 's/^0x//; s/^/0x/' | pr -l1 -t -w22 -3 -s, | sed 's/,*$/,/' --=-=-=--