From: palmieri@math.washington.edu (John H. Palmieri)
Subject: Re: X-Face and depth
Date: Mon, 07 Jan 2002 13:58:05 -0800 [thread overview]
Message-ID: <s5tadvp6cya.fsf@goedel3.math.washington.edu> (raw)
In-Reply-To: <m3zo3t4dqv.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Sat, 05 Jan 2002 05:34:48 +0100")
[-- Attachment #1: Type: text/plain, Size: 1255 bytes --]
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Zlatko Calusic <zlatko.calusic@iskon.hr> 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) <stdin>: excess data ignored
compface: (warning) <stdin>: excess data ignored
X-Face-1:compface: (warning) <stdin>: excess data ignored
compface: (warning) <stdin>: excess data ignored
X-Face-2:compface: (warning) <stdin>: excess data ignored
compface: (warning) <stdin>: 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:
<http://www.cs.indiana.edu/l/www/pub/faces/picons/src/bits-2.7.tar.Z>
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
[-- Attachment #2: xbmtoikon (a shell script) --]
[-- Type: text/plain, Size: 460 bytes --]
#!/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/,*$/,/'
next prev parent reply other threads:[~2002-01-07 21:58 UTC|newest]
Thread overview: 72+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-02 14:59 Lars Magne Ingebrigtsen
2002-01-02 15:08 ` Didier Verna
2002-01-02 15:13 ` Lars Magne Ingebrigtsen
2002-01-02 15:17 ` Didier Verna
2002-01-02 15:24 ` Lars Magne Ingebrigtsen
2002-01-02 15:31 ` Didier Verna
2002-01-02 15:22 ` luis fernandes
2002-01-02 16:55 ` Lars Magne Ingebrigtsen
2002-01-02 17:02 ` Lars Magne Ingebrigtsen
2002-01-02 17:18 ` Lars Magne Ingebrigtsen
2002-01-02 17:26 ` Lars Magne Ingebrigtsen
2002-01-02 17:43 ` Matt Pharr
2002-01-02 23:42 ` Steve Youngs
2002-01-12 23:25 ` Jason R. Mastaler
2002-01-02 19:06 ` Vincent Bernat
2002-01-03 2:41 ` Lars Magne Ingebrigtsen
2002-01-02 20:53 ` Raymond Scholz
2002-01-03 2:42 ` Lars Magne Ingebrigtsen
2002-01-03 10:02 ` Fabien Penso
2002-01-03 10:22 ` Fabien Penso
2002-01-03 10:37 ` Lars Magne Ingebrigtsen
2002-01-03 11:26 ` Fabien Penso
2002-01-04 17:20 ` Lars Magne Ingebrigtsen
2002-01-04 18:32 ` Zlatko Calusic
2002-01-05 4:34 ` Lars Magne Ingebrigtsen
2002-01-07 21:58 ` John H. Palmieri [this message]
2002-01-08 0:46 ` Steve Youngs
2002-01-08 21:17 ` John H. Palmieri
2002-01-08 21:35 ` John H. Palmieri
2002-01-09 18:31 ` Andreas Büsching
2002-01-12 13:58 ` Raymond Scholz
2002-01-16 2:50 ` Lars Magne Ingebrigtsen
2002-01-16 21:34 ` Raymond Scholz
2002-02-17 14:40 ` Raymond Scholz
2002-01-10 0:48 ` Lars Magne Ingebrigtsen
2002-01-05 17:25 ` Thomas Kosch
2002-01-05 17:36 ` Lars Magne Ingebrigtsen
2002-01-05 17:44 ` Thomas Kosch
2002-01-05 18:00 ` Lars Magne Ingebrigtsen
2002-01-02 17:41 ` Karl Kleinpaste
2002-01-02 18:56 ` Zlatko Calusic
2002-01-03 2:39 ` Lars Magne Ingebrigtsen
2002-01-03 4:07 ` Karl Kleinpaste
2002-01-03 4:50 ` Lars Magne Ingebrigtsen
2002-01-03 5:40 ` Karl Kleinpaste
2002-01-03 5:44 ` Lars Magne Ingebrigtsen
2002-01-03 17:33 ` Karl Kleinpaste
2002-01-03 17:36 ` Karl Kleinpaste
2002-01-03 18:32 ` Lars Magne Ingebrigtsen
2002-01-03 19:10 ` Karl Kleinpaste
2002-01-03 21:56 ` Steve Youngs
2002-01-04 4:26 ` Lars Magne Ingebrigtsen
2002-01-03 17:39 ` Lars Magne Ingebrigtsen
2002-01-03 17:46 ` Karl Kleinpaste
2002-01-03 17:52 ` Karl Kleinpaste
2002-01-03 17:58 ` Simon Josefsson
2002-01-03 18:01 ` Lars Magne Ingebrigtsen
2002-01-03 18:02 ` Lars Magne Ingebrigtsen
2002-01-03 18:08 ` Karl Kleinpaste
2002-01-03 18:12 ` David S. Goldberg
2002-01-03 18:32 ` Lars Magne Ingebrigtsen
2002-01-03 23:13 ` Vincent Bernat
2002-01-04 4:37 ` Lars Magne Ingebrigtsen
2002-01-03 19:07 ` Russ Allbery
2002-01-03 19:47 ` Karl Kleinpaste
2002-01-04 0:21 ` Andrew J Cosgriff
2002-01-03 12:55 ` Zlatko Calusic
2002-01-03 2:44 ` Lars Magne Ingebrigtsen
2002-01-02 15:36 ` Simon Josefsson
2002-01-02 16:13 ` Steve Youngs
2002-01-02 17:33 ` Steinar Bang
2002-01-03 0:53 ` Andrew J Cosgriff
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5tadvp6cya.fsf@goedel3.math.washington.edu \
--to=palmieri@math.washington.edu \
/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.
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 NNTP newsgroup(s).