From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16438 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: face trouble Date: 30 Aug 1998 11:22:20 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035155311 27788 80.91.224.250 (20 Oct 2002 23:08:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:08:31 +0000 (UTC) Cc: Phil Humpherys Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA22599 for ; Sun, 30 Aug 1998 11:24:22 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id JAF18023; Sun, 30 Aug 1998 09:55:25 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 30 Aug 1998 10:22:45 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA17068 for ; Sun, 30 Aug 1998 10:22:36 -0500 (CDT) Original-Received: from ljz.asfast.net (gnus@ljz.asfast.net [205.230.75.82]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA22582 for ; Sun, 30 Aug 1998 11:22:29 -0400 (EDT) Original-Received: (from gnus@localhost) by ljz.asfast.net (8.8.7/8.8.7) id LAA23211; Sun, 30 Aug 1998 11:22:20 -0400 X-Authentication-Warning: ljz.asfast.net: gnus set sender to asfast using -f Original-To: ding@gnus.org In-Reply-To: Phil Humpherys's message of "30 Aug 1998 00:45:08 -0600" Original-Lines: 50 X-Mailer: Gnus v5.6.42/XEmacs 20.4 - "Emerald" Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16438 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16438 Phil Humpherys writes: > I'm a bit stuck... please find attached a .jpg version of my > usenix face. I've tried saving it to a 48x48 image, and running > compface on it, but I can't see to get it right... could someone > take the .jpg and run it through the process that will result in > the X-face: header for me and send it back? > > Alternatively, could someone show me a step-by-step guide on > this? I've just been running through man pages trying to figure > it out... I'd appreciate some help here, thanks. I had a similar question, and I just figured out the answer. If you already have `xv' and all the `pbm' utilities (and they are in your PATH), you can do the following: (1) Go to this site: ftp://ftp.cs.indiana.edu/pub/faces/picons/src/ Download `bits-2.6.tar.Z' (2) When you un-tar it, it'll create a `bits' directory. Go there, and you'll see a script called `xbmtoikon'. Install this somewhere in your PATH and make sure that it's set to be executable. (3) Bring up your .jpg image in `xv' and use that utility to convert it to a 48x48x1 image. Save this image in the format "X11 Bitmap". Suppose that you call it `myimage.xbm'. (4) Run the following command: xmbtoikon myimage.xbm | compface >face.out (5) Edit `face.out', and concatenate all the lines into a single line, with no spaces separating the contents of the original lines. Stick an `X-Face:' header to the left of this resulting line. Include this among the headers of your news or email messages, and your face should show up in properly configured versions of Gnus. I'm not sure if there's a way to use multiple lines in your message instead of concatenating them into a single line. I hope this helps. -- Lloyd Zusman ljz@asfast.com