From owner-freebsd-questions Wed Jul 15 22:29:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA15811 for freebsd-questions-outgoing; Wed, 15 Jul 1998 22:29:40 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from stennis.ca.sandia.gov (bmah@stennis.ca.sandia.gov [146.246.243.44]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA15796 for ; Wed, 15 Jul 1998 22:29:39 -0700 (PDT) (envelope-from bmah@stennis.ca.sandia.gov) Received: (from bmah@localhost) by stennis.ca.sandia.gov (8.9.1/8.9.1) id WAA11695; Wed, 15 Jul 1998 22:29:08 -0700 (PDT) Message-Id: <199807160529.WAA11695@stennis.ca.sandia.gov> X-Mailer: exmh version 2.0.2 2/24/98 To: Greg Lehey Cc: FreeBSD Questions Subject: Re: How to create icons for xfaces? In-Reply-To: Your message of "Thu, 16 Jul 1998 13:00:02 +0930." <19980716130002.E23356@freebie.lemis.com> From: bmah@CA.Sandia.GOV (Bruce A. Mah) Reply-To: bmah@CA.Sandia.GOV X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Url: http://www.ca.sandia.gov/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_-1880592744P"; micalg=pgp-md5; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 15 Jul 1998 22:29:08 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_-1880592744P Content-Type: text/plain; charset=us-ascii If memory serves me right, Greg Lehey wrote: > I'm just playing around with xfaces now, and would like to put an > X-Face: header in my mail. I've looked through the man pages and got > as far as compface, which wants an image input in C initializer > format. How do you get, say, a jpeg image into that format? I bet someone can come up with a more definitive answer, but if I were to do this, I'd use something like xv to get an xbm file from the jpeg (probably with some manual massaging of the xbm afterwards). Then, you can do: xbmsize48 | xbm2ikon | compface (This last according to the exmh FAQ, question #6. As for me, someone at Bell Labs made my X-Face in 1994, using some combination of a Mac, an SGI Challenge running Plan 9, and a VAX running V10 UNIX. Don't try this at home, kids.) It's not clear to me if it's possible to express an image "deeper" than a 1-bit xbm image in an X-Face header. If you find out, please summarize...I'd like to believe I wouldn't look quite as ugly if I had more bits. :-) Bruce. --==_Exmh_-1880592744P Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.2 iQCVAwUBNa2Po6jOOi0j7CY9AQEPbAP/c8wxfumW5lrG8KwstUrYk+OwEYN6Qry8 Cy3vrBLND73iRIdTYjNyDf6yWX+BkRVyRkMI7O3mgw16uldQzf3P50vFigRT9YYg sXk6PSrV0w2NkRrMxGO8Bq4ZL7K0VcSilzcrVHI5TW0QjZOIijWKyTHKvi5i8Ud+ njetelESFZU= =Y7Y/ -----END PGP MESSAGE----- --==_Exmh_-1880592744P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message